home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / sound / cdbox305.zip / CDBOX.DOC < prev    next >
Text File  |  1993-12-14  |  107KB  |  2,693 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                  CD-Box(TM) v3.05
  7.                                   User's manual
  8.  
  9.  
  10.  
  11.  
  12.  
  13.        If you're viewing this  from CD-Box, press  C to display  the table of
  14.    contents, P to jump to a specific page, and the arrow keys to move around.
  15.    Press Esc anytime to return to CD-Box.
  16.        This documentation has been compressed to cut down on archive size and
  17.    transmission time and costs. Some chapters have been removed or condensed.
  18.    It is  nevertheless more  than enough  for  normal use;  nothing  vital is
  19.    missing. The full documentation is included  on the registration disk (see
  20.    page 39).
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                               (C) Jeffrey Belt, 1993
  61.                                All rights reserved
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.                                _______
  87.                           ____|__     |               (R)
  88.                        --|       |    |-------------------
  89.                          |   ____|__  |  Association of
  90.                          |  |       |_|  Shareware
  91.                          |__|   o   |    Professionals
  92.                        -----|   |   |---------------------
  93.                             |___|___|    MEMBER
  94.  
  95.        "Jeffrey  Belt   is  a   member  of   the  Association   of  Shareware
  96.    Professionals (ASP). ASP wants  to make sure that  the shareware principle
  97.    works for you.  If you are  unable to resolve  a shareware-related problem
  98.    with an ASP member by contacting  the member directly, ASP  may be able to
  99.    help. The ASP Ombudsman can help you resolve  a dispute or problem with an
  100.    ASP member, but does not provide  technical support for members' products.
  101.    Please write to the ASP Ombudsman at  545 Grover Road, Muskegon, MI 49442-
  102.    9427 USA, FAX  616-788-2765 or  send a  Compuserve message  via CompuServe
  103.    Mail to ASP Ombudsman 70007,3536"
  104.  
  105.  
  106.  
  107.  
  108.    CD-Box v3.05                                                         Page 5
  109.  
  110.                                    CD-BOX V3.05
  111.                                 TABLE OF CONTENTS
  112.  
  113.      A. INTRODUCTION ......................................................7
  114.           1. If the meaning of a word escapes you... ......................7
  115.           2. What CD-Box is ...............................................7
  116.      B. INSTALLATION ......................................................9
  117.           1. First time around (quick start) ..............................9
  118.           2. Complete installation ........................................9
  119.      C. HOW TO USE CD-BOX .................................................11
  120.           1. Let's start with the basics ..................................11
  121.           2. Select mode ..................................................11
  122.           3. Play mode ....................................................12
  123.           4. Modify mode ..................................................14
  124.           5. Goto mode ....................................................14
  125.           6. Drives mode ..................................................14
  126.           7. Debug mode ...................................................15
  127.      D. HOW CD-BOX WORKS ..................................................16
  128.           1. Programs you need for each format ............................16
  129.           2. Adding and removing songs ....................................18
  130.           3. Saving memory ................................................18
  131.           4. How CD-Box plays songs .......................................18
  132.           5. Details on .ARC, .ARJ, .PAK and .ZIP archives ................19
  133.                a. When does  CD-Box  uncompress  the songs  stored  in
  134.                        archives? ..........................................19
  135.                b. Where are files exploded to? ............................20
  136.                c. What programs are necessary  to take full  advantage
  137.                        of this feature? ...................................20
  138.           6. Dual support .................................................20
  139.      E. KEYBOARD COMMANDS .................................................21
  140.      F. CDBOX.CFG .........................................................22
  141.           1. The purpose of CDBOX.CFG .....................................22
  142.           2. Syntax .......................................................22
  143.                a. Comments ................................................22
  144.                b. Parameter settings ......................................22
  145.                c. Section identifiers .....................................23
  146.           3. Command reference ............................................23
  147.                a. System parameters .......................................23
  148.                b. Archiver parameters .....................................24
  149.                c. External drivers and players ............................25
  150.                d. Support for other song formats ..........................27
  151.      G. ADVANCED USE ......................................................29
  152.           1. Command-line parameters ......................................29
  153.      H. TROUBLE-SHOOTING ..................................................31
  154.           1. Common problems ..............................................31
  155.                a. Crashes during song analysis ............................31
  156.                b. Refusal to play certain songs ...........................31
  157.                c. Trouble with .MODs ......................................33
  158.                d. Hardware trouble ........................................34
  159.           2. Debugging switch /D ..........................................35
  160.      I. REGISTERING CD-BOX ................................................39
  161.           1. What is shareware? ...........................................39
  162.           2. Why register? ................................................39
  163.           3. How to register CD-Box .......................................40
  164.           4. Support ......................................................41
  165.           5. Bugs? What bugs? .............................................42
  166.           6. Viruses and similar nasty programs ...........................42
  167.  
  168.  
  169.  
  170.    CD-Box v3.05                                                         Page 6
  171.  
  172.      J. GLOSSARY ..........................................................43
  173.      K. EXTERNAL DRIVERS AND PLAYERS ......................................47
  174.      L. TECHNICAL NOTES ...................................................48
  175.           1. A word on files ..............................................48
  176.           2. Sound formats ................................................48
  177.      M. THANKS ............................................................49
  178.      N. LICENSE & ABSENCE OF WARRANTY .....................................50
  179.           1. Disclaimer ...................................................50
  180.           2. Trial use license ............................................50
  181.           3. Permanent license ............................................51
  182.  
  183.  
  184.  
  185.    CD-Box v3.05                                                         Page 7
  186.  
  187.    A.  INTRODUCTION
  188.  
  189.  
  190.  
  191.  
  192.  
  193.    ___________________________________________
  194.    1.  If the meaning of a word escapes you...
  195.  
  196.        .... then don't  hesitate to  peek at the  glossary (page   43). You'll
  197.    find explanations on DOS  functions that CD-Box uses  (which may be useful
  198.    to inexperienced users), and the definition  of terms more specific to CD-
  199.    Box.
  200.        In any  case, don't  worry. CD-Box  is  very simple  to use,  and this
  201.    documentation tries to be clear too!
  202.  
  203.  
  204.    __________________
  205.    2.  What CD-Box is
  206.  
  207.        CD-Box is, stated  simply, a program  which plays back  music files of
  208.    various formats on the  AdLib Music Synthetizer Card  and the SoundBlaster
  209.    card. It offers a common interface,  somewhat like a jukebox, whatever the
  210.    format. CD-Box treats all the  same way. Moreover, it  is also very pretty
  211.    and fun to use - it runs in 256 colors and can use your mouse.
  212.        CD-Box's main features:
  213.  
  214.            o  A pretty interface and  fun animation: CDs pop  up and down  and
  215.    start and stop spinning, pages scroll...  including random events I'll let
  216.    you discover!
  217.  
  218.  
  219.            o  Support for  .CMF, .MID,  .MOD, .MUS,  .ROL, .VOC,  .WAV  (.CMF,
  220.    .MOD, .VOC  and .WAV  files work  with  SoundBlaster only)  and  any other
  221.    format you define in multiple drives and directories. These files can also
  222.    be stored in .ARC, .ARJ, .PAK and/or .ZIP  archives to save disk space CD-
  223.    Box will find them  and play them from  the archive (using a  RAM drive if
  224.    you want). .MOD, .VOC and .WAV also have volume control, skipping backward
  225.    and forward within the song, and echo effects.
  226.  
  227.  
  228.            o  CD-Box allows you  to easily program  a selection  of songs;  it
  229.    waits for you to select the songs you want to hear before starting to play
  230.    the first one.
  231.  
  232.  
  233.            o  Instead of selecting  songs, you can  tell CD-Box  how long  you
  234.    want the playback to last, and it will automatically select songs for you.
  235.    You can even do that from the DOS command line  (or a batch file), and CD-
  236.    Box will play the songs, then exit right back to DOS.
  237.  
  238.  
  239.            o  CD-Box makes it easy to choose  files in which to pick songs  so
  240.    if you  compressed  your songs  by  category, you  can  tell  CD-Box which
  241.    categories to use!
  242.  
  243.  
  244.            o  No data file to keep to date; bank filenames and song titles can
  245.    be modified directly  from CD-Box, which  will save your  changes to disk.
  246.  
  247.  
  248.  
  249.    CD-Box v3.05                                                         Page 8
  250.  
  251.    CD-Box also knows the  titles and lengths  of numerous songs,  and when it
  252.    encounters unknown songs, can sometimes (it depends on the format) extract
  253.    data from the files on disk.
  254.  
  255.  
  256.            o  CD-Box can  use EMS  and XMS  to  some extent,  and is  able  to
  257.    examine the SOUND environment  variable and of loading  drivers and player
  258.    programs from there if necessary (as any good SoundBlaster software should
  259.    do).
  260.  
  261.  
  262.  
  263.    CD-Box v3.05                                                         Page 9
  264.  
  265.    B.  INSTALLATION
  266.  
  267.  
  268.  
  269.  
  270.    ________
  271.    Hardware
  272.  
  273.        You must have  a VGA  display and  an AdLib  or SoundBlaster  card (or
  274.    better) - a hard disk and a mouse are also highly recommended.
  275.  
  276.  
  277.    ___________________________________
  278.    1.  First time around (quick start)
  279.  
  280.        If you want to try CD-Box quickly, create a directory, extract all the
  281.    files from CDBOX305 into this directory, type RUNME, and press Enter.
  282.  
  283.  
  284.    _________________________
  285.    2.  Complete installation
  286.  
  287.        This part gives more  details on the installation,  and gives hints on
  288.    what you have to for CD-Box to play ALL song formats.
  289.  
  290.    __________________
  291.    Create a directory
  292.  
  293.        I suggest CD-BOX,  but you  are free to  use another  name. Go  to the
  294.    (future) parent directory and type:
  295.  
  296.  
  297.  
  298.    MKDIR CD-BOX
  299.  
  300.  
  301.  
  302.        Then go to the created directory:
  303.  
  304.  
  305.  
  306.    CHDIR CD-BOX
  307.  
  308.  
  309.  
  310.  
  311.    _____________________
  312.    Put in this directory
  313.  
  314.  
  315.            o  the files CDBOX.EXE and CDBOX.CFG.
  316.  
  317.  
  318.            o  all music files  you can find  (files with  the extension  .CMF,
  319.    .MID, .MOD,  .MUS,  .ROL,  .VOC and  .WAV).  Instead  of  using  the files
  320.    themselves, you  can put  archives (.ARC,  .ARJ,  .PAK and/or  .ZIP) which
  321.    contain these  files.  Putting  in  the  directory  the  files  AGNES.CMF,
  322.    DOODLE.CMF and WIPE_OUT.CMF  is the  same as putting  in the  directory an
  323.    archive called (for instance) CMF.ZIP which contains AGNES.CMF, DOODLE.CMF
  324.    and WIPE_OUT.CMF.
  325.  
  326.  
  327.  
  328.    CD-Box v3.05                                                        Page 10
  329.  
  330.        You don't have to put  all your songs files  in this directory; CD-Box
  331.    can look for them elsewhere on  the disk (and even on  other disks) if you
  332.    want it to. I'll tell you more about this later.
  333.  
  334.    _________
  335.    Make sure
  336.  
  337.  
  338.            o  that the BLASTER environment variable is  set (see page  43). It
  339.    is not mandatory, but it might help; skip this step for now, and return to
  340.    it later if you have trouble with .VOC and .WAV files.
  341.  
  342.  
  343.            o  that the "archivers" (by default: ARCE.COM, ARJ.EXE, PAK.EXE and
  344.    PKUNZIP.EXE) also are on  the PATH. You can  skip this step  if you didn't
  345.    compress song files in .ARC, .ARJ, .PAK or .ZIP archives.
  346.  
  347.  
  348.    ____
  349.    Load
  350.  
  351.        the SBFMDRV and SOUND drivers in memory  (if you have them). Just type
  352.    their names  at the  DOS prompt  (see page   18 if  you're concerned  about
  353.    saving memory).
  354.  
  355.    ___________
  356.    Type CD-Box
  357.  
  358.        ...and press Enter (the  first time CD-Box is  run, the directory scan
  359.    may take a long time, especially if you have  many songs - don't worry, it
  360.    will go much faster next time).
  361.        If you didn't put  your songs in  CD-Box's directory, you  can type on
  362.    the command line the specifications of the files to analyse, and add /s to
  363.    scan subdirectories also. For instance, if you type:
  364.  
  365.  
  366.  
  367.    cdbox a: d:\music\ /s
  368.  
  369.  
  370.  
  371.        CD-Box will scan and load all songs in A: and D:\MUSIC\, and all their
  372.    subdirectories.
  373.  
  374.    ________
  375.    Have fun
  376.  
  377.        ...and see what CD-Box can do.
  378.        If you get errors or have trouble, see page 31.
  379.        If you want to know exactly what you have to do for CD-Box to play ALL
  380.    formats, see page 16.
  381.        If you have  other players  or archivers  than those  mentioned above,
  382.    check out CDBOX.CFG; if you don't get it all, see page 22.
  383.        If you use CD-Box, register! See page 39.
  384.  
  385.        And now, let's relax...
  386.  
  387.  
  388.  
  389.    CD-Box v3.05                                                        Page 11
  390.  
  391.    C.  HOW TO USE CD-BOX
  392.  
  393.  
  394.  
  395.  
  396.  
  397.    _______________________________
  398.    1.  Let's start with the basics
  399.  
  400.        The explanations below, as  with most of  this documentation, supposes
  401.    you have a mouse  and CD-Box is able  to use it. If  you use the keyboard,
  402.    see page 21.
  403.        You run it by typing CDBOX at the  DOS prompt. Obvious, really. If all
  404.    goes well, the title page zooms by, and the main screen appears.
  405.        The screen is  a jukebox  of sorts,  with song  titles in  the middle.
  406.    Below these is a set of big buttons,  with which you can give instructions
  407.    to CD-Box. The  row of thinner  buttons, still  lower, are  used to change
  408.    modes; CD-Box is divided in several  modes, with a set  of buttons each to
  409.    match - but  we'll come  back to  that later.  The digital  display, which
  410.    usually displays  the  time  of  day,  can  also  display something  else,
  411.    depending on the active mode.
  412.        When CD-Box is ready  to receive your instructions,  the mouse pointer
  413.    is a yellow arrow.
  414.  
  415.            o  If you start to  get a little lost,  press Esc repeatedly  until
  416.    you get back to  the mode you are  in when CD-Box starts  up; you can then
  417.    start all over  again. If you  press Esc again,  CD-Box tells  you that to
  418.    quit, you need to press E. To quit CD-Box, press E, or click on "Eject".
  419.  
  420.  
  421.            o  On-line help is available from most screens by clicking Help (or
  422.    pressing F1), and this very manual can be displayed by clicking Manual (or
  423.    pressing F2).
  424.  
  425.  
  426.            If you just started up CD-Box, you are in...
  427.  
  428.  
  429.  
  430.    _______________
  431.    2.  Select mode
  432.  
  433.        In this mode,  you choose  and start  to play  songs. The  song titles
  434.    loaded by  CD-Box are  displayed  eight by  eight,  in the  middle  of the
  435.    screen.
  436.  
  437.            o  Move between the pages by clicking on the "Rewind" and "Forward"
  438.    buttons (you can  hold down  these buttons with  the mouse).  Pressing the
  439.    RIGHT mouse button on "Rewind"  and "Forward" brings you  to the first and
  440.    last page, respectively.
  441.  
  442.  
  443.            o  Select one or more songs to play by clicking on the small button
  444.    next to  the songs'  names; they  will  be played  back in  the  order you
  445.    selected them. The  digital display changes  color and  displays the total
  446.    time of your selection.
  447.  
  448.  
  449.  
  450.    CD-Box v3.05                                                        Page 12
  451.  
  452.            o  Click on "Loop" if you want your selection to be played over and
  453.    over again.
  454.  
  455.  
  456.            o  Click on "Play" to  play the songs you'll  be in Play mode  (see
  457.    below).
  458.  
  459.  
  460.            o  Clicking on "Random" brings you into  Random mode. You can  then
  461.    select the  total playing  time you  wish,  by pressing  the  "Rewind" and
  462.    "Forward" buttons; pressing the  RIGHT mouse button brings  up the minimum
  463.    and maximum playing time, respectively. Once the desired time is displayed
  464.    on the  digital  display, click  on  "Play". CD-Box  will  randomly select
  465.    additional songs  until  the  desired  time  is  reached,  then  play  the
  466.    songs(1).
  467.  
  468.  
  469.            o  Clicking on "Random" while in Random mode, exits Random mode.
  470.  
  471.  
  472.            o  Clicking on the  wide "Unselect"  button will  unselect ALL  the
  473.    songs.
  474.  
  475.  
  476.            o  Finally, click on "Eject" to quit.
  477.  
  478.        When you click on "Play", CD-Box switches to...
  479.  
  480.  
  481.    _____________
  482.    3.  Play mode
  483.  
  484.        This mode is active  while songs are  being played back.  Each song is
  485.    played in turn, and unselected, unless "Loop" is pressed, in which case it
  486.    will be reselected to be played again later.
  487.  
  488.            o  Each song is played in turn, and then de-selected, unless "Loop"
  489.    is in the down  position, in which case  they are reselected  to be played
  490.    again later.
  491.  
  492.  
  493.            o  Pressing Esc  while a  song is  playing interrupts  the  current
  494.    song, and CD-Box starts looking for the next one. If you press Esc between
  495.    songs, playback  stops entirely  (songs not  yet played  remain selected).
  496.    You've got to press Esc twice quite fast to stop the playback in fast mode
  497.    (/F, see below).
  498.  
  499.  
  500.  
  501.                        
  502.        1  Certain songs may be of  unknown length (they were  not known to CD-
  503.    Box and they have  never been played yet).  When such a  song is selected,
  504.    CD-Box supposes the  length is  zero. Therefore, if  you use  the "Random"
  505.    button and  such songs  are chosen,  the actual  playing  time may  be far
  506.    longer than the playing time you entered  (remember in such cases that Esc
  507.    still works).  Of course  a way  to compute  all playing  times is  to use
  508.    Random mode and choose the  maximum playing time, in  which case all songs
  509.    will be played.
  510.  
  511.  
  512.  
  513.    CD-Box v3.05                                                        Page 13
  514.  
  515.        If CD-Box  uses its  own  routines to  play  the format  (I  call this
  516.    "internal support", we'll go into this in more detail later on), the clock
  517.    displays a real-time chronometer, and the following buttons are displayed:
  518.  
  519.            o  Stop: stops  playback entirely  (same  as pressing  Esc  between
  520.    songs).
  521.  
  522.  
  523.            o  Skip: interrupts the  current song (same  as pressing Esc  while
  524.    playing).
  525.  
  526.  
  527.            o  Pause: toggle it once to pause the music, and toggle it again to
  528.    have it pick up where it left off.
  529.  
  530.  
  531.            o  Again: if pressed,  the song being  played back  will be  played
  532.    again when the end is reached or if Skip is pressed.
  533.  
  534.  
  535.            o  Rem.: if pressed, the digital display shows the time left  until
  536.    the song or the total selection  ends (see next button),  as far as CD-Box
  537.    can tell; if  not, the digital  display shows  the time  elapsed since the
  538.    beginning of the song or the total selection.
  539.  
  540.  
  541.            o  Total: if pressed, the digital display shows the time elapsed or
  542.    left (see previous button) for the current song; if not, it shows the time
  543.    elapsed or left for the whole selection. Got it?
  544.  
  545.        Depending on the format,  you may also have  access to some  or all of
  546.    the following extra controls:
  547.  
  548.            o  Volume control: press a button in the colored row to select  the
  549.    volume. Volumes changes are  not instantaneous (some  .MOD files sometimes
  550.    sound weird while the volume is being changed). The higher the volume, the
  551.    better the quality.
  552.  
  553.  
  554.            o  Skipping backward/forward within the  song: press the button  to
  555.    the left of the volume control or the one to the right. CD-Box will "skip"
  556.    a little of the song in  either way. Trying to skip  back the beginning of
  557.    the song restarts the song, and trying to skip past the end stops it.
  558.  
  559.  
  560.            o  Echo-/Echo+: one press  on each of  these buttons decreases  and
  561.    increases the echo  delay one  step. There are  five delay  steps, ranging
  562.    from no echo at all  to a long echo,  somewhat like airport announcements,
  563.    if you see  what I mean.  Echo controls are  great when  used on digitized
  564.    voices.
  565.  
  566.        Play mode switches back to Select mode when playback ends.
  567.  
  568.  
  569.  
  570.    CD-Box v3.05                                                        Page 14
  571.  
  572.    _______________
  573.    4.  Modify mode
  574.  
  575.        This mode is used  to modify song titles,  and instruments files (bank
  576.    files) linked  with songs  in certain  formats (.MUS  and .ROL).  The song
  577.    files themselves are not modified;  CD-Box keeps the data  for its own use
  578.    only, and saves it in the SONGS.DAT file.
  579.        Click on the  wide "Modify..."  button to enter  Modify mode.  All the
  580.    songs will be  unselected, and  the row  of buttons  will flip  and reveal
  581.    another set of buttons. "Rewind" and "Forward" work the same as before.
  582.  
  583.            o  You can  display the  song titles,  bank  files or  filename  by
  584.    clicking on one of the three buttons at the right.
  585.  
  586.  
  587.            o  If you click on the  small button next to  a song, a dot  cursor
  588.    will appear and you  will be able  to modify whatever  is displayed, using
  589.    the keyboard  (Backspace, Enter  and Escape  do  the obvious  things). Any
  590.    changes you type in will be automatically saved  to disk once you exit CD-
  591.    Box.
  592.  
  593.  
  594.  
  595.    _____________
  596.    5.  Goto mode
  597.  
  598.        This mode is  used to jump  quickly to a  specific title  (or file) by
  599.    giving the first  letter, instead of  moving through the  whole list using
  600.    "Rewind" and "Forward".
  601.        Click on "Goto...", and an alphabetic set of buttons will appear. From
  602.    there, simply  choose  a letter,  and  CD-Box will  "Rewind"  or "Forward"
  603.    directly to the page containing the first  song starting by the letter you
  604.    selected, and  flash that  song briefly.  If no  such song  exists, CD-Box
  605.    tries with  the next  letter, and  the next,  and may  finally give  up by
  606.    giving an error message.
  607.        When you  exit  Goto mode,  either  automatically, or  by  clicking on
  608.    "Goto..." a second  time, you will  be brought back  to the  same mode you
  609.    were in before entering Goto mode. Goto is accessible from all modes.
  610.  
  611.  
  612.    _______________
  613.    6.  Drives mode
  614.  
  615.        The latest addition!  Click on "Drives...",  and CD-Box  will save any
  616.    changes you have  made (bank files,  song titles,  whatever), and promptly
  617.    forget all the  songs in  memory. CD-Box will  then display  the directory
  618.    architecture of a drive  (usually C:), through which  you can scroll using
  619.    the arrows on the right.
  620.        Drives mode lets you select in  which drives and directories you would
  621.    like the songs to be loaded, and which song formats you would like to use.
  622.    You can do this using command-line  parameters, but using Drives mode, you
  623.    can also change your selection on the fly.
  624.        Clicking  on  a   directory  name   will  select   it,  and   all  its
  625.    subdirectories (they  all turn  orange). If  you click  again at  the same
  626.    spot, they  are removed  from the  selection  (they turn  white).  You can
  627.    select a whole  drive using  this method  by simply  clicking on  the root
  628.    directory of the drive. To  view the structure of  another drive, click on
  629.    the appropriate drive letter.
  630.  
  631.  
  632.  
  633.    CD-Box v3.05                                                        Page 15
  634.  
  635.        The "Rescan" button  tells CD-Box to  read the structure  of the drive
  636.    from scratch. If  you switch diskettes  while CD-Box is  running, click on
  637.    Rescan to warn the program the contents of the drive have changed.
  638.        Finally, the row of extensions at the  top of the screen control which
  639.    song formats are  loaded. Notice  how some lights  have a  brown rectangle
  640.    surrounding them, and others do not -  the rectangle means the song format
  641.    is selected. You can click on the lights to turn the rectangles on or off.
  642.    For instance, if you only want  to load .MOD files, turn  off all the song
  643.    formats except .MOD.
  644.        When you click on Ok, CD-Box scans  all the drives and directories you
  645.    selected, and loads  all the songs  it finds (whether  compressed in .ARC,
  646.    .ARJ or .ZIP archives or not), of the song formats selected.
  647.        Now for those of  you who suffered  with Files mode  (CD-Box v3.03 and
  648.    below), isn't that a whole lot better?
  649.  
  650.  
  651.    ______________
  652.    7.  Debug mode
  653.  
  654.        This is not really a mode  in the sense of  those described above, but
  655.    is a  command-line switch  important enough  to  be included  here. Typing
  656.    CDBOX/D at the DOS prompt:
  657.  
  658.            o  returns the registration number (if any!).
  659.  
  660.  
  661.            o  checks the CDBOX.CFG file for errors, reporting any, so you  can
  662.    correct them.
  663.  
  664.  
  665.            o  displays, for each driver, player, and archive manager,  whether
  666.    it was found or not.
  667.  
  668.  
  669.            o  scans the  directory for  songs, displaying  each song  name  in
  670.    turn, so you may find which song exactly makes CD-Box crash (if any).
  671.  
  672.        This mode is described in detail page 35.
  673.  
  674.  
  675.  
  676.    CD-Box v3.05                                                        Page 16
  677.  
  678.    D.  HOW CD-BOX WORKS
  679.  
  680.  
  681.  
  682.  
  683.  
  684.    _____________________________________
  685.    1.  Programs you need for each format
  686.  
  687.        In  addition   to   CDBOX.EXE  (the   program)   and   CDBOX.CFG  (the
  688.    configuration file), you need songs to play,  and a player program in some
  689.    cases. Those quoted  below are  the defaults; see  page  22 to  see how  to
  690.    change them.
  691.        In a  nutshell, here  is the  complete list  of the  different formats
  692.    supported by CD-Box and  the programs necessary to  use these formats. How
  693.    to obtain these drivers and players is described page 47.
  694.  
  695.    ________
  696.    ARCHIVES
  697.  
  698.  
  699.        _____________
  700.        .ARC archives
  701.  
  702.  
  703.  
  704.        You need ARCE.COM, or ARC.EXE if you make a few changes in CDBOX.CFG.
  705.  
  706.        _____________
  707.        .ARJ archives
  708.  
  709.  
  710.  
  711.        You need ARJ.EXE.
  712.  
  713.        _____________
  714.        .PAK archives
  715.  
  716.  
  717.  
  718.        You need PAK.EXE.
  719.  
  720.        _____________
  721.        .ZIP archives
  722.  
  723.  
  724.  
  725.        You need  PKUNZIP.EXE,  or UNZIP.EXE  if  you make  a  few  changes in
  726.        CDBOX.CFG.
  727.  
  728.    _____________
  729.    MUSIC FORMATS
  730.  
  731.  
  732.        ____________________________________
  733.        Creative Music (.CMF) (SoundBlaster)
  734.  
  735.  
  736.  
  737.        You need the sound driver SBFMDRV.COM  from Creative Labs, Inc, and it
  738.        has to be loaded in memory before CD-Box is run. (You can remove it by
  739.        typing  SBFMDRV  /U  once  you  exit  CD-Box).  No  other  program  is
  740.        necessary, .CMF routines are programmed directly into CD-Box.
  741.  
  742.  
  743.  
  744.    CD-Box v3.05                                                        Page 17
  745.  
  746.        ________________________________________
  747.        Single track MIDI (.MID) (SoundBlaster?)
  748.  
  749.  
  750.  
  751.        You need FORMER.EXE -  if you can find  it. I know  quiet .MID players
  752.        are difficult  to  come  by.  Anyway,  I  have  hopes  of implementing
  753.        routines in CD-Box itself.
  754.  
  755.        _______________________________
  756.        Amiga MOD (.MOD) (SoundBlaster)
  757.  
  758.  
  759.  
  760.        You need nothing except  lots of memory; CD-Box  is linked to internal
  761.        .MOD playing routines.
  762.  
  763.        ___________________________________
  764.        Music (.MUS) (AdLib & SoundBlaster)
  765.  
  766.  
  767.  
  768.        You need PLAY.EXE  or AD.EXE  or any other  .MUS player  you can find.
  769.        Each .MUS file also needs a .SND bank file, so  be sure to put them in
  770.        the  directory  too.  (ex:  AGNES.MUS   and  AGNES.SND,  MULL.MUS  and
  771.        MULL.SND...)(2).
  772.  
  773.        ____________________________________
  774.        ROLand (.ROL) (AdLib & SoundBlaster)
  775.  
  776.  
  777.  
  778.        You need the sound driver SOUND.COM  from AdLib, Inc, or SB-SOUND.COM,
  779.        and it  has to  be loaded  in memory  before CD-Box  is run.  No other
  780.        program is necessary, .ROL  routines are programmed  directly into CD-
  781.        Box.
  782.        On the  other hand,  .ROL  files also  need  at least  one  bank file,
  783.        usually STANDARD.BNK or BNK974.BNK.
  784.  
  785.        ________________________________________
  786.        SoundBlaster VOiCe (.VOC) (SoundBlaster)
  787.  
  788.  
  789.  
  790.        You need nothing; CD-Box is able  to play .VOC by  itself, and is even
  791.        able to  find your  SoundBlaster by  itself  (autodetection). However,
  792.        setting the BLASTER environment variable might help (see page 43).
  793.        Digitized sounds in  other formats (Macintosh  .SND, Sun  .AU and many
  794.        others) can be  converted to .VOC  using various utilities.  I use and
  795.        recommend  SOX   (maintained   by   Lance   Norskog),   available   at
  796.        garbo.uwasa.fi in pc/sound.
  797.  
  798.        ______________________________________
  799.        Windows 3.1 WAVe (.WAV) (SoundBlaster)
  800.  
  801.  
  802.  
  803.        Exactly the same as above. CD-Box treats .VOC and .WAV very similarly.
  804.  
  805.                        
  806.        2 .MUS bank files (.SND files)  are different from Macintosh raw sound
  807.    files (.SND extension also)  - the former contain  instrument data and the
  808.    latter a complete digitized sound.
  809.  
  810.  
  811.  
  812.    CD-Box v3.05                                                        Page 18
  813.  
  814.        The program files  do not  have to reside  in CD-Box's  directory, but
  815.    make sure  CD-Box  has  access  to  them  (through  a  PATH statement  for
  816.    instance). CD-Box also examines the SOUND environment variable and is able
  817.    to load drivers  and players  from there  if necessary.  To see  if CD-Box
  818.    detects properly your drivers and player programs, type CDBOX/D at the DOS
  819.    prompt.
  820.  
  821.  
  822.    _____________________________
  823.    2.  Adding and removing songs
  824.  
  825.        The song titles displayed in CD-Box depend entirely on the songs found
  826.    in the files  present in  all directories scanned  (either in  archives or
  827.    not). Instead of filenames, song titles are usually displayed. If you want
  828.    to add songs to CD-Box, switch  to Drives mode, and  choose the drives and
  829.    directories (which may be a diskette) in which the songs you would like to
  830.    load are stored.  Keep in mind  that CD-Box will  not load  more than 1000
  831.    songs, and sometimes less if you run out of memory.
  832.  
  833.  
  834.    _________________
  835.    3.  Saving memory
  836.  
  837.        The two drivers  CD-Box uses,  SBFMDRV and  SB-SOUND, take  up memory.
  838.    There are two ways to avoid this:
  839.  
  840.            o  If you  have a  386 or  better,  when you  load a  driver,  type
  841.    LOADHIGH before typing the driver's name in the DOS prompt. This will load
  842.    the driver in high memory, out of the critical 640K DOS memory, and CD-Box
  843.    will have more memory to run.
  844.  
  845.  
  846.            o  Once you quit CD-Box, you can remove the drivers from memory  by
  847.    typing SBFMDRV/U and SB-SOUND/U. If you loaded them using LOADHIGH, remove
  848.    them by typing LOADHIGH  SBFMDRV/U and LOADHIGH SB-SOUND/U.  Note that you
  849.    have to remove drivers in the reverse order in which you loaded them. This
  850.    does not work with AdLib's SOUND driver.
  851.  
  852.        See the RUNME.BAT file for an example of both these features.
  853.  
  854.  
  855.    __________________________
  856.    4.  How CD-Box plays songs
  857.  
  858.        It  depends  on  the  format.  As   a  general  rule,  there  are  two
  859.    possibilities: either  it  plays  them  by  itself,  using  its  own  code
  860.    (internal support),  or  it doesn't  know  how to  play  this  format, and
  861.    executes an external program (the player), specific to each format. CD-Box
  862.    currently provides for all formats except .MID and .MUS.
  863.        In greater detail, for each format, CD-Box follows these rules:
  864.  
  865.            o  If  there  is   a  section  about   this  format  in   CDBOX.CFG
  866.    ([<format>]), then CD-Box will provide external support, and:
  867.  
  868.  
  869.                o  If there is a  "Dual=yes" statement in the  section,
  870.                and CD-Box has internal  support for this format,  then
  871.                CD-Box will first try playing such songs using its  own
  872.                routines, and, if  this fails (error  while loading  or
  873.                whatever), use the external player.
  874.  
  875.  
  876.  
  877.    CD-Box v3.05                                                        Page 19
  878.  
  879.                o  If there is no such  statement in the section,  then
  880.                CD-Box will ALWAYS  use this player  to play the  song,
  881.                using the parameters given in CDBOX.CFG.
  882.  
  883.  
  884.            o  If there is no section on this format in CDBOX.CFG, then  CD-Box
  885.    will use its internal routines to play the song, if any.
  886.  
  887.  
  888.            o  In all other cases,  CD-Box will NOT play  songs of this  format
  889.    (the corresponding pilot light above the song names is greyed).
  890.  
  891.        Usually you'll want CD-Box  to play songs  by itself; it's  by far the
  892.    easiest way, there's no player  to install, and you  can pause, resume and
  893.    stop the song using the  mouse. However, you would  use an external player
  894.    if:
  895.  
  896.            o  CD-Box provides no internal support for the corresponding format
  897.  
  898.  
  899.            o  Or you have a player capable of playing the format on your card,
  900.    other than a SoundBlaster (for instance,  a player capable of playing .CMF
  901.    files on the AdLib).
  902.  
  903.        Note that even if CD-Box does  have internal support for some formats,
  904.    it may still need the corresponding driver.
  905.        CDBOX.CFG, CD-Box's configuration file, is explained page 22.
  906.  
  907.  
  908.    _________________________________________________
  909.    5.  Details on .ARC, .ARJ, .PAK and .ZIP archives
  910.  
  911.        CD-Box is able to look into .ARC, .ARJ, .PAK and .ZIP files (hereafter
  912.    called "archives") to see if there  are any songs there;  if it finds any,
  913.    the corresponding title will appear on the  main screen, and the song will
  914.    be treated just as any other song. This means  your songs can be packed in
  915.    archives in  CD-Box's  directory  to save  space;  CD-Box  will  find them
  916.    anyway.
  917.  
  918.      _____________________________________________________________
  919.      a.  When does CD-Box uncompress the songs stored in archives?
  920.  
  921.        Unpacking occurs in two cases only:
  922.  
  923.            o  at startup, if a song  found in an archive  is not known to  CD-
  924.    Box, it will exploded  using the appropriate  archiver (ARCE.COM, ARJ.EXE,
  925.    PAK.EXE, PKUNZIP.EXE, or whatever you specified in CDBOX.CFG) so it can be
  926.    analyzed. The program  will try to  extract the most  information from the
  927.    file (title and length  in particular); the "Analyzing  song" indicator is
  928.    lit up. When done, CD-Box will remove the unpacked file.
  929.  
  930.  
  931.            o  just before playing a song stored in an archive, the small  "CD-
  932.    BOX" on the  green reader at  the top of  the screen lights  up and CD-Box
  933.    invokes the  archiver to  explode  the song  file,  and the  bank  file if
  934.    necessary. When done playing, the unpacked files are removed also.
  935.  
  936.  
  937.  
  938.    CD-Box v3.05                                                        Page 20
  939.  
  940.      ________________________________
  941.      b.  Where are files exploded to?
  942.  
  943.        Files temporarily extracted from archives files reside on:
  944.  
  945.            o  the  drive/directory  specified  by   the  Temp=  statement   in
  946.    CDBOX.CFG;
  947.  
  948.  
  949.            o  if Temp= is not specified, the drive/directory specified by  the
  950.    TEMP environment variable;
  951.  
  952.  
  953.            o  if TEMP doesn't exist, to the default drive/directory.
  954.  
  955.        Always make  sure there's  enough room  to  hold the  largest expanded
  956.    song! Otherwise you'll get an "Unable to explode song" message.
  957.  
  958.      _______________________________________________________________________
  959.      c.  What programs are necessary to take full advantage of this feature?
  960.  
  961.        Any programs capable of extracting files  from .ARC, .ARJ, .PAK and/or
  962.    .ZIP files (typically ARCE.COM, ARJ.EXE, PAK.EXE  and PKUNZIP.EXE, but you
  963.    might have others). If  you don't have the  corresponding archive manager,
  964.    or if it is not reachable through a PATH statement, the message "Unable to
  965.    explode song" will appear.
  966.        The bottom  line:  using  archives  with  CD-Box  is  pretty  easy and
  967.    straightforward. In the case of synthetized  music files (.CMF, .MID, .MUS
  968.    and .ROL), it also saves an average of 80% of disk space. Believe me, it's
  969.    worth it!!!
  970.  
  971.  
  972.    ________________
  973.    6.  Dual support
  974.  
  975.        .CMF, .MOD, .ROL, .VOC and  .WAV files: it means  CD-Box can play this
  976.    format by itself. So you have three choices:
  977.  
  978.            o  The easiest: just let  it play the songs  and don't worry  about
  979.    anything else.
  980.  
  981.  
  982.            o  If CD-Box won't  play this format  on your particular  computer,
  983.    you can  try overriding  its routines  by telling  it  to use  an external
  984.    player (ex:  AdLib users  might have  a .CMF  player  that works  on their
  985.    card). You simply have to insert the appropriate statements in CDBOX.CFG.
  986.  
  987.  
  988.            o  CD-Box can also use both: try playing the format by itself,  and
  989.    if that fails,  use an  external player;  you have  to insert  whatever is
  990.    needed to run the player in CDBOX.CFG, and add a "dual=yes" statement.
  991.  
  992.        See page  25 for how to tell CD-Box to  use internal, external, or dual
  993.    support.
  994.  
  995.  
  996.  
  997.    CD-Box v3.05                                                        Page 21
  998.  
  999.    E.  KEYBOARD COMMANDS
  1000.  
  1001.  
  1002.  
  1003.        A mouse is absolutely required with CD-Box. However, most commands can
  1004.    be typed in from the keyboard.  What CD-Box does when a  key is pressed is
  1005.    find which button to activate, then simulate a left button click.
  1006.        Most buttons can  be clicked  on by pressing  their first  letter, the
  1007.    notable exceptions  being Rewind  and Forward,  which  are PgUp  and PgDn,
  1008.    respectively. The long rectangular button under  the main button menu work
  1009.    the same,  but with  the Alt  key  held down.  The volume,  skip  and echo
  1010.    controls work with the Ctrl key held down.
  1011.        The exact keys to click on the various buttons are on the back of this
  1012.    manual (last page).
  1013.  
  1014.  
  1015.  
  1016.    CD-Box v3.05                                                        Page 22
  1017.  
  1018.    F.  CDBOX.CFG
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.    ____________________________
  1025.    1.  The purpose of CDBOX.CFG
  1026.  
  1027.        CDBOX.CFG is  a  file  in  which  you  can  define  many  of  CD-Box's
  1028.    parameters. Mainly, you  can specify  what driver/player programs  to use,
  1029.    and also how to extract songs from archives, and various other things. CD-
  1030.    Box has default values for most of  these parameters, but you can override
  1031.    them with CDBOX.CFG.
  1032.        Two important remarks:
  1033.  
  1034.            o  Errors in  CDBOX.CFG  are skipped;  CD-Box  will simply  give  a
  1035.    warning message at startup and  go on anyway. But  these errors may hinder
  1036.    CD-Box when extracting  or playing songs.  A complete error  report may be
  1037.    obtained by  typing  CDBOX/D;  the messages  displayed  are  usually clear
  1038.    enough for you to understand what's wrong, and correct the situation.
  1039.  
  1040.  
  1041.            o  Archivers run as subshells by  CD-Box (and players if  possible)
  1042.    must produce NO OUTPUT OF ANY KIND. The reasons, I think, are obvious (CD-
  1043.    Box runs in VGA and it wouldn't do to  have big ugly characters messing up
  1044.    and maybe scrolling the screen each time you play a song). Therefore, make
  1045.    sure the archivers and player programs  won't print anything, either using
  1046.    a parameter from the archiver or the player  itself (for instance, /Q or -
  1047.    q), or by  redirecting output to  null, void, nothing,  emptiness (> nul).
  1048.    This last solution doesn't always work; check  under DOS. You might have a
  1049.    player which  always  displays something,  or  which you  WANT  to display
  1050.    something  (for  instance  WOWII  or  PLAYROL);  in  this  case,  use  the
  1051.    "text=yes" command described on page 26.
  1052.  
  1053.  
  1054.  
  1055.    __________
  1056.    2.  Syntax
  1057.  
  1058.  
  1059.      ____________
  1060.      a.  Comments
  1061.  
  1062.        All blank lines and everything after a semicolon (;) are ignored.
  1063.  
  1064.      ______________________
  1065.      b.  Parameter settings
  1066.  
  1067.        Most parameters are  set by typing  the parameter name,  an equal sign
  1068.    (with no space before nor after), and the parameter value. For instance:
  1069.  
  1070.  
  1071.  
  1072.    Temp=D:\
  1073.    player=PLAY.EXE
  1074.  
  1075.  
  1076.  
  1077.        Case is not  important in  the parameter name,  but it  may be  in the
  1078.    value; "/q" and "/Q"  might not mean the  same thing to  a player program.
  1079.  
  1080.  
  1081.  
  1082.    CD-Box v3.05                                                        Page 23
  1083.  
  1084.    CD-Box always preserves  case when passing  parameters to  the programs it
  1085.    runs, except for filenames, which are always in uppercase.
  1086.  
  1087.      _______________________
  1088.      c.  Section identifiers
  1089.  
  1090.        Some commands like Player=, Parameters=, and so on, need to know which
  1091.    format you're referring to. Special lines like:
  1092.  
  1093.  
  1094.  
  1095.    [ROL]
  1096.  
  1097.  
  1098.  
  1099.        means the  following  parameter  settings are  intended  for  the .ROL
  1100.    format. You can have  a different section  for each song  format, and each
  1101.    archive format.
  1102.  
  1103.  
  1104.    _____________________
  1105.    3.  Command reference
  1106.  
  1107.  
  1108.      _____________________
  1109.      a.  System parameters
  1110.  
  1111.  
  1112.  
  1113.  
  1114.    MixingSpeed=n
  1115.  
  1116.  
  1117.  
  1118.        This will set CD-Box's .MOD playing routines to n Hz per second. Lower
  1119.    values will run  better on slower  computers, while  higher values enhance
  1120.    playback quality. Values higher than 22000  Hz don't make much sense since
  1121.    instruments in .MOD  files are  sampled at a  rate of  22 KHz  anyway. The
  1122.    default is 15909. This affects .MOD files only.
  1123.  
  1124.  
  1125.  
  1126.    MODDevice=n
  1127.  
  1128.  
  1129.  
  1130.        This set the output device .MODs are played to, n being:
  1131.  
  1132.    0                       PC speaker (sounds awful under CD-Box)
  1133.    1                       D/A converter on LPT1
  1134.    2                       D/A converter on LPT2
  1135.    3                       D/A converter on LPT3
  1136.    4                       D/A converter on LPT1 and LPT2 (stereo)
  1137.    5                       D/A converter on LPT1 and LPT2 (mono)
  1138.    7                       SoundBlaster card
  1139.    10                      Stereo-on-1 card
  1140.    11                      Disney Sound Source on LPT1
  1141.    12                      Disney Sound Source on LPT2
  1142.    13                      Disney Sound Source on LPT3
  1143.    255                     No sound (indeed not very useful)
  1144.  
  1145.  
  1146.  
  1147.    CD-Box v3.05                                                        Page 24
  1148.  
  1149.  
  1150.        Default is 7 (SoundBlaster). This affects .MOD files only.
  1151.  
  1152.  
  1153.  
  1154.    DefaultBNK=fichier
  1155.  
  1156.  
  1157.  
  1158.        Without this parameter, CD-Box  supposes .ROL files  it encounters for
  1159.    the first  time need  the BNK974.BNK  bank  file. This  command  sets this
  1160.    default to another bank  file (for instance,  STANDARD.BNK or COUCOU.BNK).
  1161.    Don't specify  the extension,  CD-Box  will automatically  add  .BNK. This
  1162.    affects .ROL files only.
  1163.        Use this command to set the bank file you use the most often. If a few
  1164.    .ROLs need a different bank file, use the Modify mode.
  1165.  
  1166.  
  1167.  
  1168.    Temp=chemin
  1169.  
  1170.  
  1171.  
  1172.        This sets the path on which  files extracted from archives temporarily
  1173.    reside. Make sure it's big enough to hold  your largest song (and its bank
  1174.    file if necessary).  If omitted, the  temporary path  defaults the current
  1175.    directory (or the directory in your TEMP environment variable).
  1176.  
  1177.      _______________________
  1178.      b.  Archiver parameters
  1179.  
  1180.        The only case you should have to insert commands like the following is
  1181.    if you have  a different  archiver than  those I  planned to  handle .ARC,
  1182.    .ARJ, .PAK and .ZIP files. I put these commands in for completeness' sake,
  1183.    and just in case  the upgrade to an  archiver use a  different syntax than
  1184.    the previous version (it's very unlikely but you never know).
  1185.  
  1186.  
  1187.  
  1188.    [ARC]
  1189.    archiver=ARCE.COM
  1190.    parameters=$zipfile $files /R /Q > nul
  1191.  
  1192.  
  1193.  
  1194.        This means  the archiver  for .ARC  files  is ARCE.COM,  and  when you
  1195.    extract the  files "ABCD.TXT  EFG.MOD" from  the "HELLO.ARC"  archive, you
  1196.    type at the DOS prompt:
  1197.  
  1198.  
  1199.  
  1200.    ARCE HELLO.ARC ABCD.TXT EFG.MOD /R /Q > nul
  1201.  
  1202.  
  1203.  
  1204.        $zipfile and $files are replaced at  runtime by the appropriate names.
  1205.    $zipfile will  always  be  a single  filename  (the  name  of  the archive
  1206.    itself), while $files  is a string  of filenames separated  by spaces (the
  1207.  
  1208.  
  1209.  
  1210.    CD-Box v3.05                                                        Page 25
  1211.  
  1212.    names of the files to extract).  Note that the ">  nul" prevents ARCE from
  1213.    displaying anything on  the screen,  thereby preserving  CD-Box's splendid
  1214.    graphics  and  stupendous  animation  (well,  maybe  I'm  overdoing  it  a
  1215.    little... :-)
  1216.        The same things applies to all other archivers of course.
  1217.        If you use ARC.EXE instead of ARC.COM, insert the following commands:
  1218.  
  1219.  
  1220.  
  1221.    [ARC]
  1222.    archiver=ARC.EXE
  1223.    parameters=x $zipfile $files > nul
  1224.  
  1225.  
  1226.  
  1227.  
  1228.      ________________________________
  1229.      c.  External drivers and players
  1230.  
  1231.        The syntax is very similar:
  1232.  
  1233.  
  1234.  
  1235.    [MUS]
  1236.    player=PLAY.EXE
  1237.    parameters=$song $bank
  1238.  
  1239.  
  1240.  
  1241.        This means the  player necessary to  play .MUS files  is PLAY.EXE, and
  1242.    gives the parameters. $song  is replaced by the  song filename at runtime,
  1243.    and $bank by the bank filename (if any).
  1244.        If you  start a  song section,  you HAVE  to  put in  a Player=  and a
  1245.    Parameters= command.
  1246.        There are four other song format-specific commands:
  1247.  
  1248.  
  1249.  
  1250.    dual=yes
  1251.  
  1252.  
  1253.  
  1254.        The simple fact  that there  is a song  section in  CDBOX.CFG disables
  1255.    completely CD-Box's internal support for the corresponding format; it will
  1256.    rely entirely on what you  specify as Player= and  Parameters= to play the
  1257.    format.  Specifying   "dual=yes"  re-activates   internal   support.  When
  1258.    encountering a song of the corresponding  format, CD-Box will first try to
  1259.    play it using its own routines; if this fails for a specific song, it will
  1260.    switch to external support, using what you put in CDBOX.CFG. An example of
  1261.    how to use this follows on page 27.
  1262.  
  1263.  
  1264.  
  1265.    CD-Box v3.05                                                        Page 26
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.    shell=yes
  1272.  
  1273.  
  1274.  
  1275.        Instead of running the player, CD-Box will run a COMMAND.COM that will
  1276.    itself run the player (COMMAND /C  player parameters...). The advantage is
  1277.    that if the player is not very well written, COMMAND.COM will try to clean
  1278.    up the mess when shutting  down and returning to  CD-Box; the drawback is,
  1279.    of course, increased memory  usage. Fortunately, such  instances are rare,
  1280.    but SPUTROL, for example,  leaves files open; when  run many times without
  1281.    COMMAND.COM from CD-Box, it decreases the number of available file handles
  1282.    until nothing can be run anymore.
  1283.        If you use "> nul" to disable the  player's output, you have to insert
  1284.    a shell=yes  command  so COMMAND.COM  will  take hold  of  the  output and
  1285.    neutralize it.
  1286.  
  1287.  
  1288.  
  1289.    swap=yes
  1290.  
  1291.  
  1292.  
  1293.        Before running the player,  CD-Box will first swap  itself and all its
  1294.    data into EMS memory; if not  available, into XMS, or  a temporary file on
  1295.    the path  specified  in  the TEMP  environment  variable,  or  the current
  1296.    directory, in that order. The result is that instead of gobbling about 250
  1297.    KB of main memory before running the player,  CD-Box will use only about 5
  1298.    KB, leaving all  the rest  to the player.  An example  of how  to use this
  1299.    follows.
  1300.  
  1301.  
  1302.  
  1303.    text=yes
  1304.  
  1305.  
  1306.  
  1307.        CD-Box restore the  video mode  that was in  effect at  startup before
  1308.    running the player, and switches  back to graphics mode  when done. If you
  1309.    have a  player  which cannot  run  without displaying  anything,  or which
  1310.    switches to text mode, make  sure you use this  command; it guarantees CD-
  1311.    Box's display will not be messed up.
  1312.  
  1313.        Another example:
  1314.  
  1315.  
  1316.  
  1317.    CD-Box v3.05                                                        Page 27
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.    [MOD]
  1324.    player=MP.COM
  1325.    parameters=-q $song
  1326.    dual=yes
  1327.    swap=yes
  1328.  
  1329.  
  1330.  
  1331.        If CD-Box cannot  play the  .MOD, it will  run (dual=yes)  an external
  1332.    player (player=MP.COM)  using the  indicated  parameters (parameters=...),
  1333.    freeing beforehand  almost  all  of  main  memory  and  relocating  itself
  1334.    somewhere else (swap=yes). The explanation: if CD-Box tries to play a huge
  1335.    .MOD that does not fit in memory,  the internal routines will fail (giving
  1336.    a "Out  of memory"  message); CD-Box  will then  free  almost all  of main
  1337.    memory, and run MP.COM,  which will have about  600 KB on a  386 or better
  1338.    (560 KB on  a 286)  to load  and play  the .MOD  file. Other  .MOD players
  1339.    include  ModPlay  Pro,  TrakBlaster,  ProMod,  WOWII,  NFP  and  DMP.  For
  1340.    instance, if you love WOWII, use the commands:
  1341.  
  1342.  
  1343.  
  1344.    [MOD]
  1345.    player=WOWII.EXE /B:31000
  1346.    parameters=$song /S
  1347.    swap=yes
  1348.    text=yes
  1349.  
  1350.  
  1351.  
  1352.  
  1353.      __________________________________
  1354.      d.  Support for other song formats
  1355.  
  1356.        CD-Box can support any  number of song formats.  All extra formats are
  1357.    considered as  ".XXX" on  the screen,  but  in fact  the .XXX  may  be any
  1358.    extension. All you have to do  is insert in CDBOX.CFG  a section just like
  1359.    the ones above.
  1360.        For instance,  if you  want to  add .IMF  support to  CD-Box (Apogee's
  1361.    Monster Bash songs  were released before  the game as  .IMF, a proprietary
  1362.    format), simply insert the following in CDBOX.CFG:
  1363.  
  1364.  
  1365.  
  1366.    [IMF]
  1367.    player=PLAYIMF.EXE
  1368.    parameters=$song > nul
  1369.  
  1370.  
  1371.  
  1372.        You can add as many formats as  you wish; examples include .NST, .STM,
  1373.    .669, .SND,  .AU... whatever.  The formats  that become  really widespread
  1374.    will be included in future releases of CD-Box,  but in the meantime, or if
  1375.    you happen to like a very  specific format, go ahead,  CD-Box will be able
  1376.    to use it.
  1377.  
  1378.  
  1379.  
  1380.    CD-Box v3.05                                                        Page 28
  1381.  
  1382.        As an aside, extra formats added like this do not have to play on your
  1383.    sound card. If  you have  MIDI equipment connected  to your  computer, and
  1384.    have an adequate player, CD-Box can run it!
  1385.  
  1386.  
  1387.  
  1388.    CD-Box v3.05                                                        Page 29
  1389.  
  1390.    G.  ADVANCED USE
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.    ___________________________
  1397.    1.  Command-line parameters
  1398.  
  1399.        CDBOX/? gives you a quick summary. Otherwise, here are the details:
  1400.  
  1401.            o  filespec: instead of scanning the entire directory, CD-Box  will
  1402.    scan only the  files matching your  file specifications.  For instance, if
  1403.    you want CD-Box  to load the  .MUS and .ROL  files only,  type CDBOX *.MUS
  1404.    *.ROL; or if you just got a brand  new archive containing new songs called
  1405.    ALLNEW.ZIP that's  in drive  A:, and  you want  CD-Box  to scan  only that
  1406.    archive, type CDBOX A:ALLNEW.ZIP. An alternative is to use Files mode (see
  1407.    above). The default for filespec is, of course, *.*.
  1408.  
  1409.  
  1410.            o  /D: This  is a  debugging tool  which displays  everything  that
  1411.    happens  as  CD-Box  is  starting  up.   Check  page   35  for  a  complete
  1412.    description.
  1413.  
  1414.  
  1415.            o  /F: All non-essential animation is skipped, including the  title
  1416.    screen, CDs popping up and down, buttons flipping over, .MOD level bars...
  1417.  
  1418.  
  1419.            o  /H: Specifies  which  file  CD-Box should  display  when  F1  is
  1420.    pressed. The default is CDBOX.DOC, French users use FRENCH.DOC.
  1421.  
  1422.  
  1423.            o  /L: Tells CD-Box NOT  to load the song  formats which cannot  be
  1424.    played (i.e. a  driver is  not loaded or  missing or  a player  program is
  1425.    missing). In other words,  CD-Box does not load  songs which corresponding
  1426.    pilot light  is greyed.  This includes  archive  files; they  will  not be
  1427.    scanned if the corresponding archive manager cannot be found.
  1428.  
  1429.  
  1430.            o  /M: Tells CD-Box  not to  use a  mouse, even  if it  is able  to
  1431.    detect one. This will remove the warning that no mouse is detected if none
  1432.    is present, and also  will enable you  to use the  keyboard without having
  1433.    your mouse wrecking havoc  on the screen, if  your mouse driver  is one of
  1434.    those which CD-Box doesn't like.
  1435.  
  1436.  
  1437.            o  /O: Calls  up  the registration  screen.  This is  the  same  as
  1438.    choosing  "Register"  while   reading  the   online  manual.   For  prompt
  1439.    registration, please use the form printed by this screen.
  1440.  
  1441.  
  1442.            o  /P: Loads  CD-Box, plays  n minutes  of  music by  switching  to
  1443.    Random mode, and then exits back to DOS  upon completion of the last song.
  1444.    If Esc is  pressed between songs,  playback interrupts just  as usual, and
  1445.    normal operation is resumed: you  can then use the  mouse to choose songs,
  1446.    change titles...
  1447.  
  1448.  
  1449.  
  1450.    CD-Box v3.05                                                        Page 30
  1451.  
  1452.            o  /R: Removes the  files specified on  the command  line from  the
  1453.    external  database  (SONGS.DAT).   You  have  to   specify  the  filenames
  1454.    (wildcards accepted), not  the song  titles. For  instance, to  remove the
  1455.    files IMPACT7.MOD and all  Z*.ROL from SONGS.DAT, you  would type CDBOX /R
  1456.    IMPACT7.MOD Z*.ROL. CDBOX /R would delete  all the songs in SONGS.DAT it's
  1457.    easier to erase  the file. You  shouldn't ever need  to use  /R, except in
  1458.    extremely rare cases where CD-Box would have fouled up and recorded a song
  1459.    length of 456324875 hours for a specific song...
  1460.  
  1461.  
  1462.            o  /S: This tells  CD-Box to also  scan all  the subdirectories  it
  1463.    comes across. For instance, typing CDBOX \ /S will scan the whole disk!
  1464.  
  1465.  
  1466.            o  /V: Displays the  contents (filename, bank  filename, title  and
  1467.    length) of the external  database (SONGS.DAT) on the  screen, pausing when
  1468.    the screen is full.  The songs displayed match  the file specifications on
  1469.    the command  line  default is  (all).  Blank entries  in  the  Bank column
  1470.    indicate the file does  not need any bank  file, and blank  entries in the
  1471.    Length column indicate  the length of  the song is  not known  (0). If you
  1472.    want to save this listing to a file, specify a filename, like this:
  1473.  
  1474.  
  1475.  
  1476.  
  1477.    CDBOX /V=filename
  1478.  
  1479.  
  1480.  
  1481.  
  1482.            Output will be saved to the file filename.TXT.
  1483.  
  1484.  
  1485.  
  1486.    CD-Box v3.05                                                        Page 31
  1487.  
  1488.    H.  TROUBLE-SHOOTING
  1489.  
  1490.  
  1491.  
  1492.        If you have a problem,  don't hesitate to check  out this chapter. CD-
  1493.    Box is very easy  to use, but may  be harder to  install; the difficulties
  1494.    grow with the number of formats you use.  But above all, don't panic; most
  1495.    problems have an easy solution.
  1496.        The first part in this chapter gives  quick and easy solutions to most
  1497.    common problems.
  1498.        And the last  part explains  in detail how  CD-Box scans  archives and
  1499.    songs,  so  you  can  understand  and  solve  the  most  tricky  problems,
  1500.    especially if  you try  to modify  CDBOX.CFG. Also,  if CD-Box  crashes at
  1501.    startup, read this last part right now!
  1502.  
  1503.  
  1504.    ___________________
  1505.    1.  Common problems
  1506.  
  1507.  
  1508.      ________________________________
  1509.      a.  Crashes during song analysis
  1510.  
  1511.  
  1512.                      CD-Box hangs while "Building file index"
  1513.  
  1514.  
  1515.        CD-Box was trying  to read  a corrupted archive  (.ARC, .ARJ,  .PAK or
  1516.    .ZIP). Fix the archive or get rid of it!
  1517.  
  1518.         CD-Box stops with a "CRASH!" message and "ANALYZING SONG" was lit
  1519.  
  1520.  
  1521.        Type CDBOX/D. CD-Box will display a  lot of information you can ignore
  1522.    for the moment,  and "CRASH!" again;  however, this  time the  name of the
  1523.    faulty file is displayed on the screen. Follow these simple rules:
  1524.  
  1525.            o  If it's  while analyzing  an  uncompressed song  ("Scanning"  is
  1526.    displayed), it means  the song has  an invalid format,  and CD-Box crashes
  1527.    when trying to extract meaningful values  like song title and song length.
  1528.    Delete that song file!
  1529.  
  1530.  
  1531.            o  If it's while opening an  archive ("Opening" is displayed",  the
  1532.    archive may be corrupted. Fix it!
  1533.  
  1534.        Page 35 provides more information on CDBOX/D.
  1535.  
  1536.      _________________________________
  1537.      b.  Refusal to play certain songs
  1538.  
  1539.  
  1540.                         CD-Box displays "Driver not found"
  1541.  
  1542.  
  1543.        .CMF: You're  trying to  play  a .CMF  file  but you  didn't  load the
  1544.    SBFMDRV driver before starting  CD-Box. Having SBFMDRV.COM on  disk is not
  1545.    enough, it has  to be  loaded too. You  can always  unload it  later on by
  1546.    typing SBFMDRV/U.
  1547.        .CMF: Same as above but with SOUND instead of SBFMDRV.
  1548.  
  1549.  
  1550.  
  1551.    CD-Box v3.05                                                        Page 32
  1552.  
  1553.                      CD-Box doesn't play .VOC and .WAV files!
  1554.  
  1555.  
  1556.        If you  do have  a SoundBlaster  card or  compatible, it  means CD-Box
  1557.    couldn't find it.  You have to  set the BLASTER  environment variable. See
  1558.    BLASTER in the glossary (page 43) for how to do that.
  1559.  
  1560.                     CD-Box displays "Player program not found"
  1561.  
  1562.  
  1563.        You have tried playing  a song, and the  associated player program was
  1564.    not found (the pilot light at the top should  be greyed). Make note of the
  1565.    format causing problems,  then run  CD-Box with the  /D parameter.  If the
  1566.    corresponding program is  displayed as "not  found.", then  you can't play
  1567.    these songs, unless:
  1568.  
  1569.            o  You get  the  program and  put  it in  CD-Box's  directory,  the
  1570.    directory from the SOUND environment variable, or somewhere on your PATH.
  1571.  
  1572.  
  1573.            o  Or you modify the CDBOX.CFG file to have CD-Box support  another
  1574.    player you might have for that format. See page 22 for details.
  1575.  
  1576.  
  1577.                      CD-Box displays "Don't know how to play"
  1578.  
  1579.  
  1580.        There's something wrong in  the CDBOX.CFG file. Either  the player= or
  1581.    parameters= command is missing, and both must be present.
  1582.        Since CD-Box supports  .CMF, .MOD, .VOC  and .WAV  internally, you can
  1583.    also remove the [CMF], [MOD], [ROL], [VOC] and [WAV] sections in CDBOX.CFG
  1584.    (if there is one). This way, CD-Box won't try to look for external drivers
  1585.    and/or players, and will use its own code to play the songs.
  1586.  
  1587.            CD-Box doesn't play the song, and there is not error message
  1588.  
  1589.  
  1590.        This should happen  only when  you use an  external player.  If CD-Box
  1591.    acts as if it will play a song, but in fact doesn't play it at all, and no
  1592.    error is generated, it's because  the player got an  error (usually out of
  1593.    memory, but  it  could be  corrupted  bank file  or  something  else), but
  1594.    reported none. CD-Box is then fooled into thinking everything was okay.
  1595.        Try playing the song by hand  under DOS, and see  what happens. If the
  1596.    player says a  driver is  missing (for instance  ROLALARM wants  the SOUND
  1597.    driver to be  loaded in memory),  then load it,  and run  CD-Box again. If
  1598.    there is no problem, then it's very likely the  player ran out of memory -
  1599.    often the case with .MOD files above 250  KB, or with certain complex .ROL
  1600.    files.
  1601.        Add a "swap=yes" statement in the  corresponding section in CDBOX.CFG;
  1602.    CD-Box will swap itself in EMS, XMS or a temporary file, and leave all DOS
  1603.    memory  free  for  your  player  (using  only  about  5  KB;  without  the
  1604.    "swap=yes", CD-Box  uses about  250 KB).  If  this doesn't  work  for you,
  1605.    freeing DOS memory  and loading resident  programs high  on 386+ computers
  1606.    (LOADHIGH SBFMDRV and things like that) is  definitely a bonus, but not as
  1607.    drastic as swapping.
  1608.  
  1609.  
  1610.  
  1611.    CD-Box v3.05                                                        Page 33
  1612.  
  1613.                      CD-Box displays "Unable to explode song"
  1614.  
  1615.  
  1616.        Four possibilities (at least):
  1617.  
  1618.            o  CD-Box can't find the archive  manager necessary to extract  the
  1619.    song from a .ARC,  .ARJ, .PAK or .ZIP  archive (run CDBOX/D  to find out).
  1620.    Either make it available  to CD-Box, remove any  archives containing songs
  1621.    you may have in CD-Box's directory, or run CD-Box with the /L switch.
  1622.  
  1623.  
  1624.            o  There isn't enough room on the temporary drive.
  1625.  
  1626.  
  1627.            o  The archive is on  a diskette which you  took out of the  drive.
  1628.    Replace the diskette or click "Rescan" in  Drives mode to warn CD-Box that
  1629.    the contents of the drive have changed.
  1630.  
  1631.  
  1632.            o  .MUS and .ROL only: there is another possibility: CD-Box has not
  1633.    found the bank file or could not explode it.  Try changing the name of the
  1634.    bank file associated to  the song (using Modify  mode), or if  the name is
  1635.    okay, check that it is in the same directory or archive than the song.
  1636.  
  1637.  
  1638.                       CD-Box displays "Bank file not found"
  1639.  
  1640.  
  1641.  
  1642.            Bank files associated to  each song must reside  in the same place
  1643.    than the song  itself; both  must be in  the same  directory, or  the same
  1644.    archive. For instance, if  you have three different  .ZIP archives of .ROL
  1645.    files, you must  have all bank  files used by  these songs in  each of the
  1646.    three archives.
  1647.  
  1648.  
  1649.      ______________________
  1650.      c.  Trouble with .MODs
  1651.  
  1652.  
  1653.                          CD-Box displays "Invalid format"
  1654.  
  1655.  
  1656.        CD-Box recognises only 31-instrument .MOD files; you may have .MODs it
  1657.    won't play even though players like ModPlay do. There are two solutions to
  1658.    this:
  1659.  
  1660.            o  Use an external  player to  play .MOD  files, either  overriding
  1661.    completely CD-Box's routines or using dual support (giving CD-Box a chance
  1662.    to play the song and telling  it to use the external  player if it can't).
  1663.    See page 22.
  1664.  
  1665.  
  1666.            o  If you have  ModEdit (or maybe  another .MOD  editor), load  and
  1667.    save the .MOD files. ModEdit will always  save the song as a 31-instrument
  1668.    .MOD, so it will be playable by CD-Box.
  1669.  
  1670.  
  1671.  
  1672.    CD-Box v3.05                                                        Page 34
  1673.  
  1674.                             .MOD files sound terrible!
  1675.  
  1676.  
  1677.        Apart from  using  an  external  player,  you  can  try  changing  the
  1678.    "MixingSpeed=" statement in CDBOX.CFG.  The higher the  value, the better,
  1679.    but CD-Box's feedback will slow down  accordingly while playing .MOD files
  1680.    and might even  hang if  you specify a  value which  is too  high for your
  1681.    computer. The  default  is 15909  Hz  which should  give  good  results on
  1682.    computers fast enough; 10000 Hz is kind of okay on "slow" machines.
  1683.        If you  have  a  386 or  better,  CD-Box  v3.10  will  use drastically
  1684.    improved .MOD routines, which will take full advantage of your sound card,
  1685.    including 16-bit stereo playback.
  1686.  
  1687.                      I don't have enough memory to play .MODs
  1688.  
  1689.  
  1690.        Use an external  player. Look  at page  27 for  how to  play huge  .MOD
  1691.    files (up to about 550 KB).
  1692.  
  1693.                     Clicking on "Pause" doesn't really pause!
  1694.  
  1695.  
  1696.        When a .MOD  contains instruments  that loop continuously,  CD-Box may
  1697.    have trouble stopping it temporarily without killing it completely. Resume
  1698.    the song,  and try  to pause  again  a little  later. On  the  other hand,
  1699.    whatever  the  .MOD,  clicking  on  "Pause"  is  not  instantaneous,  some
  1700.    instruments may go on playing a  few seconds before stopping, don't worry,
  1701.    it's normal.
  1702.  
  1703.      ____________________
  1704.      d.  Hardware trouble
  1705.  
  1706.  
  1707.       CD-Box crashes and displays "VGA Sprite Manager has run out of memory"
  1708.  
  1709.  
  1710.        The VGA  Sprite Manager  is a  huge  object responsible  for animating
  1711.    sprites on the VGA  screen, not messing  up the background,  being able to
  1712.    superpose different sprites  on different planes,  and preventing flicker.
  1713.    However, it also needs a lot of memory; 64 KB + the sprites to move, so it
  1714.    usually amounts to  about 80  - 90 KB.  You can  check the  free memory by
  1715.    clicking on  the "About"  button. If  you don't  have  enough, use  the /F
  1716.    switch. The animations will be skipped, and the Sprite Manager will not be
  1717.    invoked. But chances  are you're too  short on  memory to  play some songs
  1718.    anyway. CD-Box v3.10's sprite manager will hardly use any memory at all.
  1719.  
  1720.                CD-Box returns suddenly to DOS and displays "CRASH"
  1721.  
  1722.  
  1723.        Well, if CD-Box wasn't analyzing a song, you stumbled on a bug. I left
  1724.    all the checking routines on in CD-Box's  code, so that instead of hanging
  1725.    up and forcing you to reboot, it exits to DOS (in most cases).
  1726.        Restart CD-Box  and  try  not to  do  it  again -  if  you  use CD-Box
  1727.    normally, you shouldn't  get any  bug. It's  when you  try to  insist (for
  1728.    example, a .MOD  song might  not play because  of insufficient  memory, so
  1729.    don't try clicking on the song button 10 times  to try to play it anyway),
  1730.    that CD-Box crashes. I, of course, am trying to  get the number of bugs to
  1731.    an absolute minimum (very close to zero).
  1732.  
  1733.  
  1734.  
  1735.    CD-Box v3.05                                                        Page 35
  1736.  
  1737.               CD-Box crashes and displays "Not enough memory to..."!
  1738.  
  1739.  
  1740.        You have a fatal  memory overflow. You  have to free  more memory; run
  1741.    CD-Box by itself under DOS, not  as a shell from  another program. You can
  1742.    also try typing CDBOX /F at the DOS prompt, and if you can get to the main
  1743.    screen, you may be safe... but you may also be too short on memory to play
  1744.    songs anyway.
  1745.  
  1746.                     No music format works with my sound card!
  1747.  
  1748.  
  1749.        I have a SoundBlaster  v1.50 so I'm  sure CD-Box runs  with this card.
  1750.    Above versions should work, as well  as any SoundBlaster compatible card -
  1751.    it runs on the AdLib (.MUS  and .ROL), and net users  report it works with
  1752.    the SoundBlaster Pro (version 1 and 2) and the PAS-16. However, a net user
  1753.    reported it  didn't work  with his  SoundBlaster v1.05.  Maybe the  use of
  1754.    CDBOX.CFG can solve this  problem, but nothing  is guaranteed -  I have no
  1755.    way to test that.
  1756.  
  1757.                           I have trouble with my mouse!
  1758.  
  1759.  
  1760.        YOU SHOULDN'T.  Previous versions  of CD-Box  (up  to v2.02)  did have
  1761.    problem with  furry creatures,  but not  since  v2.10. CD-Box  assumes the
  1762.    mouse is 100% Microsoft compatible (200% compatibility or more preferred).
  1763.    Some workarounds are changing the driver, or even changing the clock speed
  1764.    (turbo or non-turbo speed - weird, huh?).
  1765.        If CD-Box definitely cannot swallow your driver, use the keyboard (see
  1766.    page  21). Use the /M switch to remove mouse  support entirely and not have
  1767.    the mouse pointer wreck  the screen. But you  won't be able  to use Drives
  1768.    mode, which requires a mouse.
  1769.  
  1770.                       That darn program doesn't work AT ALL!
  1771.  
  1772.  
  1773.        Read the license if you haven't already done so.
  1774.        I CANNOT GUARANTEE CD-BOX WILL RUN ON YOUR PARTICULAR COMPUTER.
  1775.        Let's be reasonable:  I cannot  guarantee this  program will  work for
  1776.    you. You MUST have a VGA  display and a lot of free  RAM (at least 500 KB,
  1777.    550 KB better; if you don't have 640K conventional memory, forget it - but
  1778.    then who  doesn't these  days?). This  is  the very  minimum configuration
  1779.    under which CD-Box will  run. If you want  to hear the songs,  you need an
  1780.    AdLib Music Synthetizer Card or a  SoundBlaster card (CD-Box does run, but
  1781.    is of absolutely no  use without a music  card). And if you  have a lot of
  1782.    songs, you need (a little) more memory, too, of course.
  1783.        CD-Box v3.10  will  have  much  better  memory  management  than  this
  1784.    version, especially if you have a powerful computer.
  1785.  
  1786.  
  1787.    _______________________
  1788.    2.  Debugging switch /D
  1789.  
  1790.        If CD-Box doesn't play a specific music format, says it cannot explode
  1791.    songs from specific archives, or crashes at startup while analyzing songs,
  1792.    the "first-aid"  procedure is  to type  CDBOX/D.  Chances are  you'll find
  1793.    what's wrong.
  1794.        Okay, let's go. Here is an example of what CDBOX/D can display:
  1795.  
  1796.  
  1797.  
  1798.    CD-Box v3.05                                                        Page 36
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.    C:\SB\CD-BOX>cdbox /s c:\music\ a: /d
  1805.    CD-Box v3.05 - (C) Copyright Jeffrey Belt, 1992-1994 - All rights reserved
  1806.  
  1807.    CDBOX.CFG: ok.
  1808.  
  1809.    [I] .CMF driver: SBFMDRV not resident!
  1810.    [E] .IMF player: ok (C:\SB\PLAYIMF.EXE).
  1811.    [E] .MID format: don't know how to play!
  1812.    [I] .MOD format: ok.
  1813.    [D] .MOD format: ok (C:\SB\MP.COM).
  1814.    [E] .MUS player: ok (C:\SB\PLAY.EXE).
  1815.    [E] .ROL player: player not found!
  1816.    [I] .VOC driver: ok (port 0220H, IRQ 7).
  1817.    [I] .WAV driver: ok (port 0220H, IRQ 7).
  1818.    -> available formats: .IMF .MOD .MUS .VOC .WAV
  1819.  
  1820.    .ARC manager: not found.
  1821.    .ARJ manager: ok (C:\COMPRESS\ARJ.EXE).
  1822.    .PAK manager: ok (C:\COMPRESS\PAK.EXE).
  1823.    .ZIP manager: ok (C:\COMPRESS\PKUNZIP.EXE).
  1824.    Temporary drive/directory is: D:\
  1825.  
  1826.    Scanning drive C:... done.
  1827.    Directory C:\MUSIC\ found.
  1828.    Scanning drive A:... done.
  1829.    Scanning C:\SB\CD-BOX\VOC\BEACHBYS.ARC\409.VOC... archiver not found!
  1830.    Scanning C:\SB\CD-BOX\VOC\BEACHBYS.ARC\SURFUSA.VOC... archiver not found!
  1831.    Scanning C:\SB\CD-BOX\MOD\BONGO.ZIP\BONGO.MOD... exploding... error 1!
  1832.    Scanning C:\SB\MODEDIT\CREATION.MOD... DUPLICATE, ignored
  1833.    25 song(s) scanned.
  1834.  
  1835.  
  1836.  
  1837.        Don't worry, this  example has  been chosen  because it  contains many
  1838.    error messages. Usually there are much less.
  1839.        Note for starters  that you can  (and should) give  all the parameters
  1840.    you usually use as you run CDBOX/D.
  1841.        The information  displayed  is divided  in  several  categories, which
  1842.    match exactly the different steps of CD-Box's startup. Let's look at them:
  1843.  
  1844.            1. Loading of the  configuration file CDBOX.CFG. If  this file has
  1845.    errors, messages  and  line  numbers  are  displayed;  these messages  are
  1846.    described in  the  CDBOX.CFG  chapter.  Otherwise,  if  CD-Box  understood
  1847.    everything, "ok" is displayed, as in our example.
  1848.  
  1849.  
  1850.            2. Activation of the music formats.  CD-Box displays the status of
  1851.    each format, with an [I] for internal , [E] for external, and [D] for dual
  1852.    support. If everything is okay for  a format, "ok" is displayed, otherwise
  1853.    one of several  error messages  is displayed.  These messages  are precise
  1854.    enough to enable to quickly find the cause of the error, but are extremely
  1855.    numerous, so I won't explain them all here.  The errors in our example are
  1856.    the more frequent; to solve them, you have to:
  1857.  
  1858.  
  1859.  
  1860.    CD-Box v3.05                                                        Page 37
  1861.  
  1862.            o  .CMF: load  the  SBFMDRV  driver  before  running  CD-Box  (type
  1863.    SBFMDRV or LOADHIGH SBFMDRV at the DOS prompt).
  1864.  
  1865.  
  1866.            o  .MID: CD-Box has not internal support, and expects  instructions
  1867.    in CDBOX.CFG.  But it  can find  no command  relative  no the  .MID format
  1868.    (there is  no [.MID]  section, or  the Player=  or Parameters=  command is
  1869.    missing), so CD-Box  doesn't know how  to play this  format. The solution:
  1870.    find a .MID player, and insert the appropriate commands in CDBOX.CFG.
  1871.  
  1872.  
  1873.            o  .ROL: CD-Box couldn't  find the player  specified in  CDBOX.CFG,
  1874.    either because  its name  was misspelled,  or because  it indeed  isn't on
  1875.    disk. Check the spelling of the filename given in the Player= command, and
  1876.    make sure the player is in the PATH, or  in the directory specified in the
  1877.    SOUND environment variable.  Since CD-Box  has internal support  for .ROL,
  1878.    you can remove the [ROL] section from  CDBOX.CFG anyway. Now that you know
  1879.    that, do whatever you want, it's your computer.
  1880.  
  1881.  
  1882.            o  All other formats: no problem. CD-Box also displays a summary of
  1883.    available formats: .IMF .MOD .MUS .VOC .WAV. Two remarks:
  1884.  
  1885.  
  1886.                o  Two messages are displayed for the .MOD format; it's
  1887.                because there  is a  "dual=yes"  command in  the  [MOD]
  1888.                section of  CDBOX.CFG.  One  message  is  for  internal
  1889.                support [I], and the other for dual support [D].
  1890.  
  1891.  
  1892.                o  .IMF is not a format CD-Box supports by default, but
  1893.                it is  treated  as  any other  once  you've  added  the
  1894.                appropriate instructions in CDBOX.CFG. See page  27 for
  1895.                details.
  1896.  
  1897.  
  1898.            3. Activation of the  archive formats. CD-Box does  the same thing
  1899.    for archivers;  if one  is not  found, "not  found"  is displayed.  In our
  1900.    example, if  you don't  use .ARC  archives at  all,  there is  no problem;
  1901.    otherwise, make sure  the archiver is  somewhere on  the PATH.  Or, if you
  1902.    have an  archiver different  than the  one  CD-Box looks  for,  insert the
  1903.    appropriate commands in CDBOX.CFG.
  1904.  
  1905.  
  1906.            4. Directory index. There seldom are errors here, unless you typed
  1907.    incorrect directory names.
  1908.  
  1909.  
  1910.            5. Song index. This is the "heart"  of CD-Box, so we'll delve into
  1911.    this in detail.
  1912.  
  1913.        The song filenames flash  quickly while they are  scanned. When CD-Box
  1914.    scans an archive,  it opens  it ("Opening"), then  scans the  songs within
  1915.    ("Scanning"). If the song is known,  it is simply stored  in the index and
  1916.    the search goes on.  On the other hand,  if the song is  not known, CD-Box
  1917.    has to analyze it, to extract data like  title, length, and bank file; and
  1918.  
  1919.  
  1920.  
  1921.    CD-Box v3.05                                                        Page 38
  1922.  
  1923.    this is where errors can  happen. Let's start with  the worst case: CD-Box
  1924.    displays:
  1925.  
  1926.  
  1927.  
  1928.    Scanning C:\SB\CD-BOX\ROL.ARJ\ZULU.ROL... * CRASH! * 100/1351:075A *
  1929.    Possibles causes:
  1930.    - corrupted song (type CDBOX/D and see if the error repeats itself)
  1931.    - memory overflow
  1932.    Otherwise see "Trouble-shooting" in CD-Box's documentation.
  1933.  
  1934.  
  1935.  
  1936.        The file CD-Box was  analyzing is corrupted. Delete  it! The advantage
  1937.    of CDBOX/D is that the faulty filename remains on the screen (in our case,
  1938.    ZULU.ROL). If the message  displayed is: "Opening C:\SB\CD-BOX\ROL.ARJ..."
  1939.    for instance,  it's archive  ROL.ARJ's fault.  The  command ARJ  t ROL.ARJ
  1940.    would undoubtedly report a corrupted archive. Fix it or delete it!
  1941.        This case  is the  worst, and  stops  CD-Box completely.  In  the vast
  1942.    majority of cases, CD-Box  displays a warning message,  and goes on. These
  1943.    warnings are:
  1944.  
  1945.                                archiver not found!
  1946.  
  1947.  
  1948.        The song is  stored in  an archive CD-Box  can read,  but not extract,
  1949.    because the archiver is missing. Make sure the archiver is on the PATH, or
  1950.    extract the song, and store it in another type of archive if you want to.
  1951.  
  1952.                                exploding... failed!
  1953.  
  1954.  
  1955.        CD-Box ran an  archiver to  extract a  song, which  terminated without
  1956.    reporting any error, but  CD-Box realized the song  has not been extracted
  1957.    at all. In most case, it's because the archiver got an error (usually disk
  1958.    full, but it might be because  the song is password-encrypted), but didn't
  1959.    report any. Change the value of Temp= in CDBOX.CFG!
  1960.  
  1961.                               exploding... error n!
  1962.  
  1963.  
  1964.        This warning is like the previous one,  but this time the archiver did
  1965.    return an error number  n. Refer to  the documentation of  the archiver to
  1966.    understand the problem.
  1967.  
  1968.                                DUPLICATE, ignored.
  1969.  
  1970.  
  1971.        CD-Box already encountered  this song while  scanning. It  is a simple
  1972.    information message, CD-Box will only remember the first occurrence in any
  1973.    case, but you can remove one of the duplicated from your disk.
  1974.  
  1975.  
  1976.  
  1977.    CD-Box v3.05                                                        Page 39
  1978.  
  1979.    I.  REGISTERING CD-BOX
  1980.  
  1981.  
  1982.  
  1983.                 CD-Box is shareware. The registration fee is $20.
  1984.  
  1985.  
  1986.    ______________________
  1987.    1.  What is shareware?
  1988.  
  1989.        Shareware distribution  gives users  a chance  to try  software before
  1990.    buying it. If you try a  Shareware program and continue  using it, you are
  1991.    expected to register. Individual  programs differ on details  -- CD-Box in
  1992.    particular  specifies   a   maximum   30-day   evaluation   period.   With
  1993.    registration, you get the right to continue using the software and usually
  1994.    something extra  (bound manual,  extra  programs, etc).  With  CD-Box, the
  1995.    registration reminders are  removed, and  you get  the latest  version and
  1996.    extra programs (more on this later).
  1997.        Copyright laws apply  to both  Shareware and commercial  software, and
  1998.    the copyright holder retains all rights, with a few specific exceptions as
  1999.    stated below. Shareware  authors are  accomplished programmers,  just like
  2000.    commercial authors, and the  programs are of comparable  quality. (In both
  2001.    cases, there are good  programs and bad  ones!) The main  difference is in
  2002.    the method of  distribution. The author  specifically grants  the right to
  2003.    copy and  distribute  the software,  either  to  all and  sundry  or  to a
  2004.    specific group.  For  example,  some  authors  require written  permission
  2005.    before a commercial  disk vendor may  copy their Shareware.  The terms for
  2006.    CD-Box are in the VENDOR.DOC file.
  2007.        Shareware is a distribution method, not a type of software. You should
  2008.    find  software  that  suits  your  needs   and  pocketbook,  whether  it's
  2009.    commercial or  Shareware. The  Shareware system  makes fitting  your needs
  2010.    easier, because you can  try before you  buy. And because  the overhead is
  2011.    low, prices are low also. Shareware  has the ultimate money-back guarantee
  2012.    -- if you don't use the product, you don't pay for it.
  2013.  
  2014.  
  2015.    _________________
  2016.    2.  Why register?
  2017.  
  2018.        Because it's the  right thing  to do. You  wouldn't want  to break the
  2019.    law, would you?
  2020.        You are encouraged to  use and copy this  program and give  it to your
  2021.    friends for a 30-day evaluation period.  Once this period has expired, you
  2022.    have to register the program.
  2023.        The registration fee is $20 US dollars. In return, you'll get:
  2024.  
  2025.            o  a registration key and  instructions to remove the  registration
  2026.    reminders using this  key. This  key will  be valid  for all  CD-Box v3.xx
  2027.    versions.
  2028.  
  2029.  
  2030.            o  a diskette containing:
  2031.  
  2032.  
  2033.                o  the latest version of CD-Box (or the next version if
  2034.                it is almost ready to be released). I'm still under the
  2035.                shock of receiving  yesterday a  registration form  for
  2036.                CD-Box v2.11 which I released more than a year ago! For
  2037.                examples of things to come, see the HISTORY.DOC file.
  2038.  
  2039.  
  2040.  
  2041.    CD-Box v3.05                                                        Page 40
  2042.  
  2043.                o  a  menu-driven  SETUP   utility  to  easily   modify
  2044.                CDBOX.CFG (without  using a  text editor  and  dirtying
  2045.                your hands in ASCII).
  2046.  
  2047.  
  2048.                o  the full documentation in English and French.
  2049.  
  2050.  
  2051.                o  third-party software that I  find of value to  sound
  2052.                card  owners  in  general,  and  to  CD-Box  users   in
  2053.                particular.
  2054.  
  2055.  
  2056.                o  and as many song files as will fit.
  2057.  
  2058.  
  2059.            o  mail or phone support (see below).
  2060.  
  2061.  
  2062.            o  a six-month "I fix the bugs  or your money back" guarantee  (see
  2063.    below).
  2064.  
  2065.  
  2066.            o  notification by letter of the next major update.
  2067.  
  2068.  
  2069.            o  and, of course,  discounts on future  versions of CD-Box  (v4.00
  2070.    and above) and my other products.
  2071.  
  2072.        I'm also thinking of  printing this manual, and  if I do  print it and
  2073.    you showed interest (see registration form),  I'll notify you, and make it
  2074.    available to you at the rock-bottom price.
  2075.        If some of these  products become unavailable  for distribution, other
  2076.    products which have value to sound card users will be substituted. Some of
  2077.    these products may be shareware and require  you to pay a registration fee
  2078.    after an evaluation period.
  2079.  
  2080.  
  2081.    __________________________
  2082.    3.  How to register CD-Box
  2083.  
  2084.        The  registration  fee   is  $20.  If   for  some   reason  CD-Box  is
  2085.    discontinued, I'll send your money right back with an explanation.
  2086.        US dollars are used for convenience; ANY  currency will do, as long as
  2087.    it amounts  to the  same  sum in  US  dollars; take  bank  commission into
  2088.    account. See the registration screen for examples.
  2089.        To register you, I need either  cash or a check (made  to the order of
  2090.    Jeffrey Belt), and an  order form. Press  F2 within CD-Box  to display the
  2091.    manual, then press R; or type CDBOX/O at the DOS prompt. This will call up
  2092.    the registration screen.  Just fill it  in and choose  your output device:
  2093.    printer (specify the port) or file (INVOICE.TXT).
  2094.        If you don't have a  printer, print the order  form in the INVOICE.TXT
  2095.    file, and print  this file  on a friend's  or neighbour's  printer. Better
  2096.    yet, give him CD-Box to print your order form!
  2097.        If you REALLY  don't have  access to a  printer, write  on a  piece of
  2098.    paper, a postcard, or something else:
  2099.  
  2100.  
  2101.  
  2102.    CD-Box v3.05                                                        Page 41
  2103.  
  2104.            o  which version of CD-Box you've got (press the "About" button  in
  2105.    CD-Box).
  2106.  
  2107.  
  2108.            o  your first and  last name  (without which  I cannot  give you  a
  2109.    registration key).
  2110.  
  2111.  
  2112.            o  your full mailing address.
  2113.  
  2114.        The rest is optional:
  2115.  
  2116.            o  where you got CD-Box (which server, BBS, company...).
  2117.  
  2118.  
  2119.            o  your remarks and suggestions (if any).
  2120.  
  2121.        Send the filled-in order form and payment to:
  2122.  
  2123.                    Jeffrey BELT
  2124.                    2A Crothers Hall
  2125.                    Stanford, CA 94305
  2126.                    U.S.A.
  2127.  
  2128.        My phone number is  (415) 497-5573 in  the United States.  If you have
  2129.    net access, my e-mail address is belt@cs.stanford.edu.
  2130.        All this is  valid until December  15, 1994. Do  NOT send registration
  2131.    forms to  this address  after  this date!  If  you can't  find  an updated
  2132.    version of CD-Box with my new address in it, please either:
  2133.  
  2134.            o  write or call the ASP and they will tell you how to reach me, or
  2135.  
  2136.  
  2137.            o  send a postcard to the following address asking how to reach me:
  2138.  
  2139.  
  2140.                    Jeffrey BELT
  2141.                    7 rue de la Garenne
  2142.                    77240 - CESSON
  2143.                    FRANCE
  2144.  
  2145.  
  2146.  
  2147.    ___________
  2148.    4.  Support
  2149.  
  2150.        If you experience  difficulties with CD-Box,  then write,  call, or e-
  2151.    mail. The same applies to suggestions for improvement. I always answer all
  2152.    the mail I receive, priority being given to registered users for a minimum
  2153.    period of six months after the date of registration. So don't hesitate!
  2154.        New  versions  of   CD-Box  are  uploaded   on  saffron.inset.com  and
  2155.    oak.oakland.edu (simtel), and sent to a  growing number of vendors; update
  2156.    announcements appear in  the Sound  Newsletter (available  on BBS  and FTP
  2157.    servers worldwide and posted  in particular to comp.sys.ibm.pc.soundcard).
  2158.    Major updates will also be sent to the ASP  vendors and will appear on the
  2159.    ASP CD-ROM.
  2160.  
  2161.  
  2162.  
  2163.    CD-Box v3.05                                                        Page 42
  2164.  
  2165.    ____________________
  2166.    5.  Bugs? What bugs?
  2167.  
  2168.        As far as I know, this  program is free of bugs. In  any case, it does
  2169.    not contain any intentional bugs. But  I also know no significant software
  2170.    has ever been produced without bugs lurking  around. If you find any, TELL
  2171.    ME in detail! There's no chance of the bug being corrected if I don't know
  2172.    about it!
  2173.        Bugs will be fixed for free  for six months following registration, if
  2174.    possible. If not, a full refund will be offered.
  2175.        When reporting a bug,  please be as precise  as possible. What version
  2176.    number of CD-Box are you using?  What exactly were you  doing when the bug
  2177.    happened? What are the exact symptoms? I  received in the past bug reports
  2178.    about mice  for CD-Box  v2.02 and  below, like  "my  mouse goes  crazy" or
  2179.    "doesn't work"... how am  I supposed to work  on this?!? It  was by asking
  2180.    for details that I  finally knew "the yellow  mouse seems to  be at double
  2181.    the position of the  white mouse", and "random  colored points are sprayed
  2182.    around the mouse arrow", and so the trouble was fixed.
  2183.        Don't forget  to  include  a full  description  of  your  hardware and
  2184.    software environment so that I can try to duplicate the problem.
  2185.  
  2186.  
  2187.    ______________________________________
  2188.    6.  Viruses and similar nasty programs
  2189.  
  2190.        I guarantee that the copies  of CD-Box I send  on diskettes to vendors
  2191.    and distributors are virus-free.  However, bear in mind  the copy you have
  2192.    may have been infected, unwittingly or not,  by someone else. Most, if not
  2193.    all, vendors and  distributors check  again for viruses,  so the  odds are
  2194.    low, but you never know. The  odds get higher as  your source becomes more
  2195.    "doubtful" (i.e., the copy of a friend of a friend of a friend...).
  2196.        CDBOX.EXE contains verification code to protect itself at each startup
  2197.    against viral attacks  or hacks. It  does not protect  your system against
  2198.    viruses or other similar  programs, nor does it  guarantee for sure CD-Box
  2199.    is not infected. However, if CD-Box detects a modification of its code, it
  2200.    will stop and display the following message:
  2201.  
  2202.  
  2203.  
  2204.    This program has been corrupted or modified.
  2205.    Please restore it from a safe backup copy.
  2206.  
  2207.  
  2208.  
  2209.        You must then make  a fresh copy of  CDBOX.EXE from the  original or a
  2210.    safe backup copy.
  2211.  
  2212.  
  2213.  
  2214.    CD-Box v3.05                                                        Page 43
  2215.  
  2216.    J.  GLOSSARY
  2217.  
  2218.  
  2219.  
  2220.        Entries  are  not  in  logical  order,   but  in  alphabetical  order.
  2221.    Inexperienced  users  may  want   to  read  the   "driver",  "player"  and
  2222.    "environment variables" entries first.
  2223.  
  2224.                                      ARCHIVER
  2225.  
  2226.  
  2227.        An archiver is also called archive  manager, compressor, compactor, of
  2228.    files or archives. It is a program able to store in one file (the archive)
  2229.    many different files, shrinking them  so they use less  space on disk; the
  2230.    opposite operation (extraction) is of course possible. The most widespread
  2231.    formats are .ARC, .ARJ, .LZH, .PAK,  .ZIP and .ZOO, and  are common use on
  2232.    file servers (BBS, FTP, and others).
  2233.        Each archiver has its  own commands, so see  the documentation of each
  2234.    to see how to use them.
  2235.  
  2236.                                      BLASTER
  2237.  
  2238.  
  2239.        BLASTER is an  environment variable you  can use to  tell CD-Box where
  2240.    your SoundBlaster card (or compatible) is located. To set it, type:
  2241.  
  2242.  
  2243.  
  2244.    SET BLASTER=Axxx Ix Dx Tx
  2245.  
  2246.  
  2247.  
  2248.        Axxx is  the  port,  usually A220  for  port  220H  (factory default).
  2249.    Possible  values  are  A210,   A220,  A230,  A240,  A250   and  A260  (the
  2250.    SoundBlaster Pro accepts A220 and A240 only).
  2251.        Ix is the  interrupt line  (IRQ), for instance  I3 for  IRQ3. Possible
  2252.    values are I2, I3, I5, I7 and I10.
  2253.        Dx is  the DMA  channel, usually  D1  for DMA  channel 1.  The "plain-
  2254.    vanilla" SoundBlaster  is always  on DMA  1, but  possible values  for the
  2255.    SoundBlaster Pro are D0, D1 and D3.
  2256.        Tx is the card type. T1  is for the SoundBlaster v1.0  and v1.5, T2 is
  2257.    for the SoundBlaster Pro, and T3 is for the SoundBlaster v2.0.
  2258.        I have for  instance a  SoundBlaster v1.5 on  port 220H  and interrupt
  2259.    line IRQ7. My AUTOEXEC.BAT contains the following line:
  2260.  
  2261.  
  2262.  
  2263.    SET BLASTER=A220 I7 T1 D1
  2264.  
  2265.  
  2266.  
  2267.        CD-Box uses the settings provided by  the BLASTER environment variable
  2268.    (port and interrupt only, it  ignores the other two).  If BLASTER does not
  2269.    exist, it will  try to locate  the card by  itself, but may  not be always
  2270.    successful. I highly recommend  the use of BLASTER,  since CD-Box and many
  2271.    other software use this variable.
  2272.  
  2273.  
  2274.  
  2275.    CD-Box v3.05                                                        Page 44
  2276.  
  2277.                                       DRIVER
  2278.  
  2279.  
  2280.        A driver  is a  program, whether  resident  (SBFMDRV.COM) or  not (CT-
  2281.    VOICE.DRV) that allows the programmer knowing how to "talk" to this driver
  2282.    to  control  something  more  or  less  easily   -  in  the  case  of  the
  2283.    SoundBlaster, to play files  without going down too  much into the details
  2284.    of the file formats, memory or the card itself.
  2285.        One driver can  be used by  several programs (for  instance, a printer
  2286.    driver in Windows is  used by all Windows  software so they  don't have to
  2287.    worry about the details of the printer).
  2288.  
  2289.                               ENVIRONMENT VARIABLES
  2290.  
  2291.  
  2292.        DOS enables you to  define variables, or symbols,  and to store values
  2293.    in these variables.  All programs can  afterwards use  these variables you
  2294.    define. The syntax is:
  2295.  
  2296.  
  2297.  
  2298.    SET variable=value
  2299.  
  2300.  
  2301.  
  2302.        Variable must  be a  single word,  with no  space or  other separator.
  2303.    Value, on the other hand, can be a string of (almost) any characters.
  2304.        You can display  all variables  that have  a value  in your  system by
  2305.    typing the SET command with no argument. SET for can instance display:
  2306.  
  2307.  
  2308.  
  2309.    COMSPEC=C:\DOS\COMMAND.COM
  2310.    PROMPT=$p$g
  2311.    PATH=C:\DOS;C:\DOS\UTIL;C:\COMPRESS;C:\CD-MENU;C:\SB;C:\DOS\F-PROT
  2312.    SOUND=C:\SB
  2313.    TEMP=E:
  2314.  
  2315.  
  2316.  
  2317.        (It will look different on your computer.)
  2318.        Four environment variables have a specific meaning for CD-Box:
  2319.  
  2320.            o  BLASTER, to set the SoundBlaster port and IRQ.
  2321.  
  2322.  
  2323.            o  PATH, where to look for archivers and players.
  2324.  
  2325.  
  2326.            o  SOUND, where to look for players,  if they weren't found in  the
  2327.    PATH. The  value  of  SOUND is  normally  a  directory  where SoundBlaster
  2328.    programs are stored (see the user's manual of your sound card).
  2329.  
  2330.  
  2331.            o  TEMP, to know where to move when running the "swap=yes"  command
  2332.    and there  is not  EMS nor  XMS, and  to know  where to  temporarily store
  2333.    extracted files, unless this  command is specified in  the "Temp=" command
  2334.  
  2335.  
  2336.  
  2337.    CD-Box v3.05                                                        Page 45
  2338.  
  2339.    of CDBOX.CFG. The value of TEMP should be  a drive or directory where many
  2340.    software store their temporary files, preferably a RAM disk.
  2341.  
  2342.  
  2343.                                       FORMAT
  2344.  
  2345.  
  2346.        Computer files  can contain  extremely diverse  data:  text, graphics,
  2347.    sounds, programs, databases...  The idea being  to store data  in a usable
  2348.    form, software usually defines "formats", that is, rules which say exactly
  2349.    how the data is to be stored in files.
  2350.        The extension of a file usually gives an indication on its format. You
  2351.    surely know that .BAT, .COM and  .EXE are executable files (programs), and
  2352.    .DOC and .TXT usually is readable text. In CD-Box, .CMF, .MID, .MOD, .MUS,
  2353.    .ROL, .VOC and  .WAV are  music formats (others  exist!), and  .ARC, .ARJ,
  2354.    .PAK and .ZIP are well-known archive formats (others exist too).
  2355.        Each software often defines its own  format, which may (unfortunately)
  2356.    bear the same name of another software's format.  A .MOD file is usually a
  2357.    song file, but Windows, for instance, has  .MOD files that have nothing to
  2358.    do with music.
  2359.        When CD-Box displays "Invalid format", this  means it thought the file
  2360.    contained a song, just by looking  at the extension. But  when it tried to
  2361.    use  this  file  to  play  it,  or  to  extract  the  title,  it  realized
  2362.    informations it expected to find at certain locations in the file were not
  2363.    there. So it displays  "Invalid format" to  denote a file  which seemed to
  2364.    contain a song at first, but which doesn't after all.
  2365.  
  2366.                                        PATH
  2367.  
  2368.  
  2369.        The  PATH  is  an  environment  variable  which  contains  a  list  of
  2370.    directories separated by semicolons.  When you type a  program name at the
  2371.    DOS prompt, the program  is searched in each  of the directories specified
  2372.    in the PATH; if the program is not found, DOS displays "Invalid command or
  2373.    file not found" or something close.
  2374.        To display what's in the PATH, type the PATH command:
  2375.  
  2376.  
  2377.  
  2378.    PATH=C:\DOS;C:\DOS\UTIL;C:\COMPRESS;C:\CD-MENU;C:\SB;C:\DOS\F-PROT
  2379.  
  2380.  
  2381.  
  2382.        (It will look different on your computer.)
  2383.        So, in this  case, if  you type  MEM, DOS  will look  on disk  for the
  2384.    following files: MEM.BAT (or  .COM or .EXE),  C:\DOS\MEM.BAT (same thing),
  2385.    C:\DOS\UTIL\MEM.BAT, C:\COMPRESS\MEM.BAT... as  soon as  one such  file is
  2386.    found, it is run, and the MEM program starts.
  2387.        CD-Box uses the PATH to  look for programs it  may need (archivers and
  2388.    players). If you say in CDBOX.CFG that the [ZIP] format must be handled by
  2389.    the UNZIP.EXE  program,  CD-Box  will look  for  in  our  example  for the
  2390.    following  files:   UNZIP.EXE,   C:\DOS\UNZIP.EXE,  C:\DOS\UTIL\UNZIP.EXE,
  2391.    C:\COMPRESS\UNZIP.EXE...
  2392.        When you type CDBOX/D, CD-Box displays the programs it found, with the
  2393.    full access path. If, on the other hand, CD-Box displays "not found", this
  2394.    means your  program is  not on  the PATH,  that is,  not in  any directory
  2395.    specified in the PATH  environment variable. Put the  program in the PATH,
  2396.  
  2397.  
  2398.  
  2399.    CD-Box v3.05                                                        Page 46
  2400.  
  2401.    or change the PATH  definition to include the  directory where the missing
  2402.    program is.
  2403.  
  2404.                                       PLAYER
  2405.  
  2406.  
  2407.        A player  is a  program which  is  able to  play songs  in  a specific
  2408.    formats (sometimes in more than one format, but that's rare); a player may
  2409.    need a driver to work.
  2410.        CD-Box is indeed  a player,  a multi-format player  even, but  is much
  2411.    more than  that  (interface, animations,  handling  of  titles...). Better
  2412.    examples include VPLAY, PLAYCMF and ModPlay Pro.
  2413.  
  2414.  
  2415.  
  2416.    CD-Box v3.05                                                        Page 47
  2417.  
  2418.    K.  EXTERNAL DRIVERS AND PLAYERS
  2419.  
  2420.  
  2421.  
  2422.        CD-Box uses  by default  the following  drivers  and players  (you can
  2423.    change this if you modify CDBOX.CFG, see page 22):
  2424.  
  2425.    Driver .CMF:   SBFMDRV.COM - Creative Labs, Inc.
  2426.                Bundled with the SoundBlaster
  2427.  
  2428.    Player .MID:   FORMER.EXE - comes with HOLYWOOD
  2429.                That's all I know. Give me more info if you have any!
  2430.  
  2431.    Player .MUS:   PLAY.EXE
  2432.                No info on this one - got it from a FTP server which IT got
  2433.                from THE TASTE/MG BBS, 718-252-4529, as ADLIBMUS.ZIP.
  2434.  
  2435.    Driver .ROL:   SOUND.COM - AdLib, Inc. (or next one)
  2436.                Bundled with the AdLib
  2437.  
  2438.    Driver .ROL:   SB-SOUND.COM - Creative Labs, Inc. (or previous one)
  2439.                Almost no info on this one, but like SBFMDRV (and unlike
  2440.                SOUND), can be removed from memory.
  2441.  
  2442.        You can of  course override  CD-Box's internal routines  with external
  2443.    players not  quoted here  (for instance,  play .MODs  with ModPlay  Pro or
  2444.    WOWII, or .ROL with SPUTROL or ROLALARM or INTUNE).
  2445.        FTP addresses:  saffron.inset.com,  nic.funet.fi,  snake.mcs.kent.edu,
  2446.    oak.oakland.edu.
  2447.  
  2448.  
  2449.  
  2450.    CD-Box v3.05                                                        Page 48
  2451.  
  2452.    L.  TECHNICAL NOTES
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.    ___________________
  2459.    1.  A word on files
  2460.  
  2461.        Two files  are necessary  for CD-Box  to  run: CDBOX.EXE  (the program
  2462.    itself, with all its code and  graphics), and CDBOX.CFG (the configuration
  2463.    file). CD-Box  will create  the SONGS.DAT  file  to store  song  names and
  2464.    lengths. If  a  player  crashes,  and  you  specified  "swap=yes"  in  the
  2465.    corresponding section in CDBOX.CFG, you may found on disk a CDBOX.TMP file
  2466.    which you can delete.
  2467.  
  2468.  
  2469.    _________________
  2470.    2.  Sound formats
  2471.  
  2472.        .MOD: CD-Box processes only 31-instrument .MODs, and only in mono. I'm
  2473.    working on 16-bit stereo!
  2474.        .ROL: CD-Box expects  SOUND.COM v1.51 or  later. It  uses the extended
  2475.    waveform capabilities of the AdLib v1.51 or later and SoundBlaster v1.5 or
  2476.    later.
  2477.        .VOC: CD-Box processes block IDs 1  (sample), 2 (subsequent sample), 3
  2478.    (silence), 6 (repeat)  and 7 (end  repeat). All other  blocks are skipped.
  2479.    CD-Box sends the data to the  DSP in real time rather  than using the DMA,
  2480.    hence  the  volume   and  echo  controls.   The  sound   samples  must  be
  2481.    uncompressed.
  2482.        .WAV: CD-Box  makes an  "on-the-fly"  conversion and  sends  the whole
  2483.    thing to the DSP.  Because of outrageous computing  times, it is currently
  2484.    only able to process 8-bit mono samples.  I'm working on the 16-bit stereo
  2485.    version...
  2486.  
  2487.  
  2488.  
  2489.    CD-Box v3.05                                                        Page 49
  2490.  
  2491.    M.  THANKS
  2492.  
  2493.  
  2494.  
  2495.        CD-Box wouldn't be  the program  it is today  without the  help of the
  2496.    following people:
  2497.  
  2498.            o  Programmers: Mark J. Cox (MODOBJ library to play .MODs),  Victor
  2499.    Langeveld (precious help to solve mouse  bugs), Anthony Rumble (sources to
  2500.    play .CMF), Thomas Wagner  (EXEC function to  move CD-Box to  EMS, XMS, or
  2501.    hard disk when an external player is run; used when the "swap=yes" command
  2502.    is used in CDBOX.CFG).
  2503.  
  2504.  
  2505.            o  Enlightened users, for their  good ideas: Ed Haymore  (temporary
  2506.    drive redirection, and basic idea for Files mode), Bjorn Karlsen (keyboard
  2507.    support on volume  control), Bob  Mandel (a  lot of  helpful advice  and a
  2508.    fascinating handwriting).
  2509.  
  2510.  
  2511.            o  Sympathetic sysops: Dave Komatsu (Sound Newsletter Editor),  and
  2512.    Keith Petersen (sysop of MSDOS archive  on SIMTEL), for having accepted my
  2513.    submission! And many  more thanks  go to Dave  for having  uploaded CD-Box
  2514.    when I was not on the net.
  2515.  
  2516.  
  2517.            o  Crazy about  image  synthesis:  Stéphane Marty  (who  wrote  the
  2518.    tremendous French ray-tracing software SMTRACER 386,  and gave me the ray-
  2519.    tracing virus).
  2520.  
  2521.  
  2522.            o  The others: Bruno  Deltour (aesthetic  remarks), Alain  Rousseau
  2523.    (has provided me files  from the net  when I wasn't  on it), Jean-François
  2524.    Moufle (has drawn the car, now much  reduced, driving across the screen at
  2525.    odd times) (yes, I drew the  rest, and no, I'm not  an artist!), my sister
  2526.    (for rebuilding  my morale  when it  sank  low), my  mother  (still hasn't
  2527.    understood how I could  be so addicted to  computers but patiently endures
  2528.    it nevertheless),  and  various  other friends  and  relations  for having
  2529.    stumbled on  the  thankfully  rare bugs,  and  for  their  suggestions and
  2530.    encouragements.
  2531.  
  2532.        And many thanks to the  registered users of CD-Box  which are the ones
  2533.    keeping it going!
  2534.  
  2535.  
  2536.  
  2537.    CD-Box v3.05                                                        Page 50
  2538.  
  2539.    N.  LICENSE & ABSENCE OF WARRANTY
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.    ______________
  2546.    1.  Disclaimer
  2547.  
  2548.        Users of CD-Box  must accept this  disclaimer of  warranty: "CD-Box is
  2549.    supplied as is. The author disclaims all warranties, expressed or implied,
  2550.    including, without limitation,  the warranties  of merchantability  and of
  2551.    fitness for  any purpose.  The author  assumes  no liability  for damages,
  2552.    direct or consequential, which may result from the use of CD-Box."
  2553.        This statement and the  licence agreements below shall  be governed by
  2554.    the laws  of France.  Any action  or  proceeding brought  by  either party
  2555.    against the other  arising out of  or related  to this  agreement shall be
  2556.    brought only  in  a  court of  competent  jurisdiction  located  in Paris,
  2557.    France.
  2558.  
  2559.  
  2560.    _____________________
  2561.    2.  Trial use license
  2562.  
  2563.        The word "software"  below refers to  the freely  available version of
  2564.    CD-Box, and  in  particular  the  three  files  CDBOX.EXE,  CDBOX.CFG  and
  2565.    CDBOX.DOC.
  2566.        You are encouraged to use this software for 30 days prior to obtaining
  2567.    a permanent license. You may copy this software as many times as you like,
  2568.    give it to anyone,  and distribute it via  electronic means. This software
  2569.    may also be distributed  in shareware and/or public  domain libraries that
  2570.    charge for copying and distributing disks, NOT for the software itself.
  2571.        You may NOT charge or request a donation  for a copy of this software,
  2572.    however made; and you may NOT distribute this program and/or documentation
  2573.    with commercial products without written permission from the author.
  2574.        THIS SOFTWARE  MAY  NOT  BE  GIVEN  AWAY  OR  DISTRIBUTED  WITHOUT ITS
  2575.    DOCUMENTATION; AND NEITHER PROGRAM NOR DOCUMENTATION MAY BE ALTERED IN ANY
  2576.    WAY.
  2577.        Users of  CD-Box must  register and  pay  for their  copies  of CD-Box
  2578.    within 30  days of  first  use or  their  license is  withdrawn.  Once the
  2579.    registration payment is made, the permanent license applies.
  2580.        If you do not agree to this  license, delete CD-Box from your computer
  2581.    and don't send any money.
  2582.  
  2583.    _____________
  2584.    What it means
  2585.  
  2586.        CD-Box is a "shareware  program" and is provided  at no charge (except
  2587.    shipping charge in some  cases) to the  user for evaluation.  Feel free to
  2588.    share it with your friends, but  please do not give it  away altered or as
  2589.    part of  another  system  (don't give  just  the  program,  give  also the
  2590.    documentation and extra files; if you modified CDBOX.CFG for your personal
  2591.    use, take care  not to  distribute the modified  version). The  essence of
  2592.    "user-supported" software  is  to  provide  personal  computer users  with
  2593.    quality software without  high prices,  and yet  to provide  incentive for
  2594.    programmers to continue to develop new  products. If you find this program
  2595.    useful and find that you are using CD-Box and continue to use CD-Box after
  2596.    the 30-day trial period, you must pay the registration fee.
  2597.  
  2598.  
  2599.  
  2600.    CD-Box v3.05                                                        Page 51
  2601.  
  2602.    _____________________
  2603.    3.  Permanent license
  2604.  
  2605.        The word "software"  below applies to  the registration  key and extra
  2606.    utility programs clearly  marked as  "This program is  part of  the CD-Box
  2607.    registration disk" on  the disk  received when registering  (in particular
  2608.    SETUP.EXE). Other third-party programs  on this disk are  covered by their
  2609.    own licenses.
  2610.        The $20 registration  fee will  license one  copy for  use on  any one
  2611.    computer at any one time. You  must treat this software  just like a book.
  2612.    An example is that this software  may be used by any  number of people and
  2613.    may be freely  moved from  one computer  location to  another, so  long as
  2614.    there is no possibility of it being used  at one location while it's being
  2615.    used at another. Just as a book cannot be read by two different persons at
  2616.    the same time.
  2617.        By ordering a license, you acknowledge  that the registration key is a
  2618.    trade secret and agree to protect it as such.
  2619.        This license is not transferrable and may not be modified.
  2620.  
  2621.  
  2622.  
  2623.    CD-Box v3.05                                                        Page 52
  2624.  
  2625.        AdLib Music  Synthetizer  Card is  a  trademark of  AdLib,  Inc. Also,
  2626.    SOUND.COM is copyrighted by AdLib, Inc.
  2627.        SoundBlaster is a trademark  of Creative Labs,  Inc. Also, SBFMDRV.COM
  2628.    is copyrighted by Creative Labs, Inc.
  2629.        ARCE Copyright (c) Vernon D. Buerg.
  2630.        ARJ Copyright (c) Robert K Jung.
  2631.        LZEXE Copyright (c) Fabrice Bellard.
  2632.        PAK Copyright (c) NoGate Consulting.
  2633.        PKUNZIP Copyright (c) PKWARE Inc.
  2634.        Other trademarks and products mentioned in  this documentation are the
  2635.    property of their respective owners.
  2636.  
  2637.        The software and documentation are:
  2638.        (C) Copyright Jeffrey Belt 1993.
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.                                    CD-BOX V3.05
  2646.                                   REFERENCE CARD
  2647.  
  2648.  
  2649.    _____________________________
  2650.    All modes except Playing mode
  2651.  
  2652.    Help:                   F1, H or ?
  2653.    Manual:                 F2
  2654.  
  2655.    ___________
  2656.    Select mode
  2657.  
  2658.    Rewind:                 PgUp, left or up arrow, or Backspace
  2659.    Forward:                PgDn, right or down arrow, or Enter
  2660.    Other buttons: Play (P), Loop(L), Random(R), Eject(E).
  2661.  
  2662.    ____________
  2663.    Playing mode
  2664.  
  2665.    Stop:                   Esc (even if the button is not displayed)
  2666.    .MOD volume:            Ctrl A (minimum) to Ctrl L (maximum)
  2667.    Forward, Echo+:         Ctrl-right arrow
  2668.    Backwards, Echo-:       Ctrl-left arrow
  2669.    Other buttons: Skip (S), Pause (P), Again (A), Rem (R), Total (T).
  2670.  
  2671.    ___________
  2672.    Modify mode
  2673.  
  2674.    Rewind, Forward:        same as above
  2675.    About:                  A or ?
  2676.    Other buttons: File (F), Bank (B), Title (T).
  2677.  
  2678.    ___________
  2679.    Drives mode
  2680.  
  2681.    The mouse is required!
  2682.  
  2683.    _____
  2684.    Songs
  2685.  
  2686.    1 to 8 (1 to 4 in the first column, 5 to 8 in the second).
  2687.  
  2688.    ___________
  2689.    Mode select
  2690.  
  2691.    Press Alt and the first letter of the mode (ex: Alt M for Modify).
  2692.  
  2693.